Skip to content

"Failed to resolve filter" while running tests #543

@AustinGil

Description

@AustinGil

Version

1.0.0-beta.14

Reproduction link

https://jsfiddle.net/50wL7mdz/323724/

Steps to reproduce

Create a Vue project
Add a filter (like mine or a different one)
Test project with Jest and vue-test-utils

What is expected?

Test should run without any errors

What is actually happening?

Test are running, but throwing errors:

"[Vue warn]: Failed to resolve filter: si"


I have also tried importing Vue to the test spec file and setting up the filter there, but that didn't seem to help.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions