Skip to content

Commit

Permalink
Used the correct typing for string array; Updated tests for type change
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Smith committed Sep 18, 2019
1 parent e7134a8 commit 9d97812
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/jest/src/builders/jest/jest.impl.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ describe('Jest Builder', () => {
]
}
}),
testPathPattern: [],
watch: false
},
['/root/jest.config.js']
Expand Down Expand Up @@ -149,6 +150,7 @@ describe('Jest Builder', () => {
findRelatedTests: true,
runInBand: true,
testNamePattern: 'should load',
testPathPattern: [],
watch: false
},
['/root/jest.config.js']
Expand Down Expand Up @@ -250,6 +252,7 @@ describe('Jest Builder', () => {
}
}),
setupFilesAfterEnv: ['/root/test-setup.ts'],
testPathPattern: [],
watch: false
},
['/root/jest.config.js']
Expand Down Expand Up @@ -302,6 +305,7 @@ describe('Jest Builder', () => {
}
}),
setupFilesAfterEnv: ['/root/test-setup.ts'],
testPathPattern: [],
watch: false
},
['/root/jest.config.js']
Expand Down
2 changes: 1 addition & 1 deletion packages/jest/src/builders/jest/jest.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface JestBuilderOptions extends JsonObject {
runInBand?: boolean;
silent?: boolean;
testNamePattern?: string;
testPathPattern?: [string];
testPathPattern?: string[];
colors?: boolean;
reporters?: string[];
verbose?: false;
Expand Down

0 comments on commit 9d97812

Please sign in to comment.