From 14ca864416fbd9c1a5746f4f9b03c546356cfa8b Mon Sep 17 00:00:00 2001 From: mshogren Date: Thu, 23 Feb 2017 22:26:27 -0700 Subject: [PATCH] fix(configuration): Remove test regex filter 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 --- src/JestTestRunner.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/JestTestRunner.ts b/src/JestTestRunner.ts index 37b8a33..b8e233b 100644 --- a/src/JestTestRunner.ts +++ b/src/JestTestRunner.ts @@ -23,7 +23,6 @@ const DEFAULT_OPTIONS: Object = { setupFiles: [], snapshotSerializers: [], testEnvironment: 'jest-environment-jsdom', - testRegex: '.*Spec\\.js$', testRunner: 'jest-jasmine2', verbose: true };