Skip to content

Multi-project-runner fails with one project #4117

@gaearon

Description

@gaearon

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

Bug.

What is the current behavior?

If I remove one of two projects in package.json, test runner gets super confused. Symptoms are similar to #4037. It's basically as if it runs without configuration at all.

What is the expected behavior?

Removing one project from projects doesn't cause the other one to fail.

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

You can reproduce with this React commit: https://github.com/facebook/react/tree/171149a4b02a399a986c411b264515de45e70521.

Remove one of projects in package.json and run npm test.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions