fix(nx): check the correct test builder (#1879)
This commit is contained in:
parent
181f9ede86
commit
dca7934aec
@ -12,7 +12,7 @@ export default function() {
|
|||||||
project.projectType === 'library' &&
|
project.projectType === 'library' &&
|
||||||
project.architect &&
|
project.architect &&
|
||||||
project.architect.test &&
|
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 &&
|
||||||
project.architect.test.options.setupFile ===
|
project.architect.test.options.setupFile ===
|
||||||
project.sourceRoot + '/test-setup.ts'
|
project.sourceRoot + '/test-setup.ts'
|
||||||
|
|||||||
@ -9,7 +9,7 @@ describe('Update 8.5.0', () => {
|
|||||||
let tree: Tree;
|
let tree: Tree;
|
||||||
let schematicRunner: SchematicTestRunner;
|
let schematicRunner: SchematicTestRunner;
|
||||||
|
|
||||||
const jestBuilder = '@nrwl/jest:test';
|
const jestBuilder = '@nrwl/jest:jest';
|
||||||
const nonJestBuilder = 'something-else';
|
const nonJestBuilder = 'something-else';
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user