Skip to content

Commit

Permalink
feat(testing): add migration for moving test target defaults (nrwl#19993
Browse files Browse the repository at this point in the history
)
  • Loading branch information
FrozenPandaz authored Nov 2, 2023
1 parent 95ae6fd commit b0d1799
Show file tree
Hide file tree
Showing 9 changed files with 952 additions and 6 deletions.
5 changes: 5 additions & 0 deletions packages/jest/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
"version": "16.5.0-beta.2",
"description": "Add test-setup.ts to ignored files in production input",
"implementation": "./src/migrations/update-16-5-0/add-test-setup-to-inputs-ignore"
},
"move-options-to-target-defaults": {
"version": "17.1.0-beta.2",
"description": "Move jest executor options to nx.json targetDefaults",
"implementation": "./src/migrations/update-17-1-0/move-options-to-target-defaults"
}
},
"packageJsonUpdates": {
Expand Down
2 changes: 0 additions & 2 deletions packages/jest/src/generators/init/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import {
addDependenciesToPackageJson,
GeneratorCallback,
getProjects,
joinPathFragments,
readNxJson,
removeDependenciesFromPackageJson,
runTasksInSerial,
Expand All @@ -27,7 +26,6 @@ import {
typesNodeVersion,
} from '../../utils/versions';
import { JestInitSchema } from './schema';
import { JestExecutorOptions } from '../../executors/jest/schema';

interface NormalizedSchema extends ReturnType<typeof normalizeOptions> {}

Expand Down
Loading

0 comments on commit b0d1799

Please sign in to comment.