nx/docs/generated/devkit/createNodesFromFiles.md
Jason Jean b558f56c69
feat(testing): use createNodesV2 for jest (#26292)
<!-- 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 #
2024-05-31 15:43:01 -04:00

924 B

Function: createNodesFromFiles

createNodesFromFiles<T>(createNodes, configFiles, options, context): Promise<[file: string, value: CreateNodesResult][]>

Type parameters

Name Type
T unknown

Parameters

Name Type
createNodes CreateNodesFunction<T>
configFiles readonly string[]
options T
context CreateNodesContextV2

Returns

Promise<[file: string, value: CreateNodesResult][]>