Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Multi-project runner can't find some mocks #4119

@gaearon

Description

@gaearon

Do you want to request a feature or report a bug?

Bug.

What is the current behavior?

In some cases (can't determine when) Jest "loses" some mocks with multi-project runner and emits weird messages.

screen shot 2017-07-25 at 5 24 10 pm

screen shot 2017-07-25 at 5 24 45 pm

You can reproduce by cloning facebook/react#10273 and running npm test. Many failures are expected but these (about missing files) are not.

What is the expected behavior?

Jest can find mocked modules when running with multi-project runner.

Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.

Please use facebook/react#10273 as a base.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions