Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

Commit

Permalink
fix(configuration): Remove test regex filter
Browse files Browse the repository at this point in the history
The testRegex attribute of the configuration passed to Jest may be left undefined, causing Jest to fall back to its default
(/__tests__/.*|(\\.|/)(test|spec))\\.jsx?$

That will result by default in a wider selection of test files being selected.  
This may help with #11
  • Loading branch information
mshogren committed Feb 24, 2017
1 parent 278a754 commit 14ca864
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/JestTestRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const DEFAULT_OPTIONS: Object = {
setupFiles: [],
snapshotSerializers: [],
testEnvironment: 'jest-environment-jsdom',
testRegex: '.*Spec\\.js$',
testRunner: 'jest-jasmine2',
verbose: true
};
Expand Down

0 comments on commit 14ca864

Please sign in to comment.