We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2ebf83 commit 920db51Copy full SHA for 920db51
scripts/test.js
@@ -16,8 +16,6 @@ if (args['e2e-only']) {
16
regex = e2ePathPattern
17
const i = rawArgs.indexOf('--e2e-only')
18
rawArgs.splice(i, 2)
19
-} else {
20
- rawArgs.push('--testPathIgnorePatterns', e2ePathPattern)
21
}
22
23
const jestArgs = [
@@ -27,6 +25,10 @@ const jestArgs = [
27
25
...(regex ? [regex] : [])
28
26
]
29
+if (!args['e2e-only']) {
+ jestArgs.push('--testPathIgnorePatterns', e2ePathPattern)
30
+}
31
+
32
console.log(`running jest with args: ${jestArgs.join(' ')}`)
33
34
require('jest').run(jestArgs)
0 commit comments