Skip to content

Commit

Permalink
chore(misc): fix failing workspace lib unit test (#6862)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz authored Aug 26, 2021
1 parent b820f72 commit 6d8fa39
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/workspace/src/generators/library/library.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ describe('lib', () => {
);
expect(workspaceJson.projects['my-dir-my-lib'].architect.lint).toEqual({
builder: '@nrwl/linter:eslint',
outputs: ['{options.outputFile}'],
options: {
lintFilePatterns: ['libs/my-dir/my-lib/**/*.ts'],
},
Expand Down Expand Up @@ -296,6 +297,7 @@ describe('lib', () => {
const workspaceJson = readJson(tree, 'workspace.json');
expect(workspaceJson.projects['my-lib'].architect.lint).toEqual({
builder: '@nrwl/linter:eslint',
outputs: ['{options.outputFile}'],
options: {
lintFilePatterns: ['libs/my-lib/**/*.ts'],
},
Expand Down Expand Up @@ -360,6 +362,7 @@ describe('lib', () => {
workspaceJson.projects['my-dir-my-lib'].architect.lint
).toEqual({
builder: '@nrwl/linter:eslint',
outputs: ['{options.outputFile}'],
options: {
lintFilePatterns: ['libs/my-dir/my-lib/**/*.ts'],
},
Expand Down Expand Up @@ -498,6 +501,9 @@ describe('lib', () => {
"libs/my-lib/**/*.ts",
],
},
"outputs": Array [
"{options.outputFile}",
],
}
`);
});
Expand Down

0 comments on commit 6d8fa39

Please sign in to comment.