<!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> ## Current Behavior <!-- This is the behavior we have today --> `@nx/jest/plugin` uses CreateNodesV1. Multiple Jest plugins are not able to be run in parallel and in isolation. ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> `@nx/jest/plugin` uses CreateNodesV2. Multiple jest plugins are able to run in parallel and in isolation. ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
23 lines
924 B
Markdown
23 lines
924 B
Markdown
# Function: createNodesFromFiles
|
|
|
|
▸ **createNodesFromFiles**\<`T`\>(`createNodes`, `configFiles`, `options`, `context`): `Promise`\<[file: string, value: CreateNodesResult][]\>
|
|
|
|
#### Type parameters
|
|
|
|
| Name | Type |
|
|
| :--- | :-------- |
|
|
| `T` | `unknown` |
|
|
|
|
#### Parameters
|
|
|
|
| Name | Type |
|
|
| :------------ | :------------------------------------------------------------------------- |
|
|
| `createNodes` | [`CreateNodesFunction`](../../devkit/documents/CreateNodesFunction)\<`T`\> |
|
|
| `configFiles` | readonly `string`[] |
|
|
| `options` | `T` |
|
|
| `context` | [`CreateNodesContextV2`](../../devkit/documents/CreateNodesContextV2) |
|
|
|
|
#### Returns
|
|
|
|
`Promise`\<[file: string, value: CreateNodesResult][]\>
|