diff --git a/packages/workspace/src/migrations/update-8-5-0/fix-tsconfig-lib-json.ts b/packages/workspace/src/migrations/update-8-5-0/fix-tsconfig-lib-json.ts index 71d44a260f..3ff2f897a5 100644 --- a/packages/workspace/src/migrations/update-8-5-0/fix-tsconfig-lib-json.ts +++ b/packages/workspace/src/migrations/update-8-5-0/fix-tsconfig-lib-json.ts @@ -12,7 +12,7 @@ export default function() { project.projectType === 'library' && project.architect && project.architect.test && - project.architect.test.builder === '@nrwl/jest:test' && + project.architect.test.builder === '@nrwl/jest:jest' && project.architect.test.options && project.architect.test.options.setupFile === project.sourceRoot + '/test-setup.ts' diff --git a/packages/workspace/src/migrations/update-8-5-0/update-8-5-0.spec.ts b/packages/workspace/src/migrations/update-8-5-0/update-8-5-0.spec.ts index 3fc51ca692..fe42a532ea 100644 --- a/packages/workspace/src/migrations/update-8-5-0/update-8-5-0.spec.ts +++ b/packages/workspace/src/migrations/update-8-5-0/update-8-5-0.spec.ts @@ -9,7 +9,7 @@ describe('Update 8.5.0', () => { let tree: Tree; let schematicRunner: SchematicTestRunner; - const jestBuilder = '@nrwl/jest:test'; + const jestBuilder = '@nrwl/jest:jest'; const nonJestBuilder = 'something-else'; beforeEach(async () => {