Skip to content

Commit 8ec5e77

Browse files
author
William Sedlacek
authored
fix: library test errors (#42)
1 parent 6834357 commit 8ec5e77

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/nx/src/builders/build/builder.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import runBuilder from './builder';
77

88
const options: BuildBuilderSchema = {
99
noHmr: true,
10+
prepare: true,
1011
platform: 'ios',
1112
};
1213

packages/nx/src/schematics/library/library.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { createEmptyWorkspace } from '@nrwl/workspace/testing';
33
import { readJsonInTree, updateJsonInTree } from '@nrwl/workspace';
44

55
import { runSchematic } from '../../utils/testing';
6-
import { Schema } from './schema';
76

87
describe('lib', () => {
98
let appTree: Tree;
@@ -33,6 +32,7 @@ describe('lib', () => {
3332
options: {
3433
lintFilePatterns: [`libs/${libName}/**/*.ts`],
3534
},
35+
outputs: ['{options.outputFile}'],
3636
});
3737
});
3838

@@ -48,6 +48,7 @@ describe('lib', () => {
4848
options: {
4949
lintFilePatterns: [`libs/${libName}/**/*.ts`],
5050
},
51+
outputs: ['{options.outputFile}'],
5152
});
5253
});
5354

0 commit comments

Comments
 (0)