Skip to content

multirunner with a wrong project path will try to run tests incorrectly #4037

@boujeepossum

Description

@boujeepossum

having

// config.js
module.exports = {
  projects: [
    'non_existing_path/',
    'another_non_existing_path/',
  ],
};

and running

jest --config config.js

will not throw, but try to run jest with some incorrect configuration, which makes it very frustrating to debug.

also

jest --config config.js --showConfig

will not print the accurate config (it'll only print one projectConfig and one globalConfig)

Metadata

Metadata

Assignees

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