Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: mention rootDir changes when using projects #12871

Merged
merged 4 commits into from Sep 17, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/Configuration.md
Expand Up @@ -1451,6 +1451,8 @@ When using multi-project runner, it's recommended to add a `displayName` for eac

:::

With the `projects` option enabled, Jest will copy the root-level configuration options to each individual child configuration during the test run, resolving its values in the child's context. This means that the `<rootDir>` string token will point to the _child directory_ even if it's used in the root-level configuration, which is crucial to keep in mind when constructing paths.
kettanaito marked this conversation as resolved.
Show resolved Hide resolved

### `reporters` \[array&lt;moduleName | \[moduleName, options]&gt;]

Default: `undefined`
Expand Down