Skip to content

Commit fd29bfb

Browse files
committed
debug test
1 parent 58299dd commit fd29bfb

File tree

4 files changed

+37
-34
lines changed

4 files changed

+37
-34
lines changed

.appveyor.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ install:
1313
test_script:
1414
- node --version
1515
- yarn --version
16-
- yarn test
17-
- node tests\run_e2e.js
16+
# - yarn test
17+
# - node tests\run_e2e.js
1818

1919
build: off

.travis.yml

+32-29
Original file line numberDiff line numberDiff line change
@@ -15,36 +15,39 @@ matrix:
1515
include:
1616
- node_js: "6"
1717
os: linux
18-
env: SCRIPT=lint
19-
- node_js: "6"
20-
os: linux
21-
env: SCRIPT=build
22-
- node_js: "6"
23-
os: linux
24-
env: SCRIPT=test
25-
- node_js: "6"
26-
os: linux
27-
env: NODE_SCRIPT="tests/run_e2e.js --glob=tests/build/**"
28-
- node_js: "6"
29-
os: linux
30-
env: NODE_SCRIPT="tests/run_e2e.js --eject --glob=tests/build/**"
31-
- node_js: "6"
32-
os: linux
33-
env: NODE_SCRIPT="tests/run_e2e.js --ignore=**/tests/build/**"
34-
- node_js: "6"
35-
os: linux
36-
env: NODE_SCRIPT="tests/run_e2e.js --ng4 --glob=tests/build/**"
37-
- node_js: "6"
38-
os: linux
39-
env: NODE_SCRIPT="tests/run_e2e.js --ng4 --ignore=**/tests/build/**"
18+
env: NODE_SCRIPT="tests/run_e2e.js tests/e2e/tests/test/test-fail-watch.ts"
19+
# - node_js: "6"
20+
# os: linux
21+
# env: SCRIPT=lint
22+
# - node_js: "6"
23+
# os: linux
24+
# env: SCRIPT=build
25+
# - node_js: "6"
26+
# os: linux
27+
# env: SCRIPT=test
28+
# - node_js: "6"
29+
# os: linux
30+
# env: NODE_SCRIPT="tests/run_e2e.js --glob=tests/build/**"
31+
# - node_js: "6"
32+
# os: linux
33+
# env: NODE_SCRIPT="tests/run_e2e.js --eject --glob=tests/build/**"
34+
# - node_js: "6"
35+
# os: linux
36+
# env: NODE_SCRIPT="tests/run_e2e.js --ignore=**/tests/build/**"
37+
# - node_js: "6"
38+
# os: linux
39+
# env: NODE_SCRIPT="tests/run_e2e.js --ng4 --glob=tests/build/**"
40+
# - node_js: "6"
41+
# os: linux
42+
# env: NODE_SCRIPT="tests/run_e2e.js --ng4 --ignore=**/tests/build/**"
4043

41-
# Optional builds.
42-
- node_js: "6"
43-
os: linux
44-
env: NODE_SCRIPT="tests/run_e2e.js --nightly --ng4"
45-
- node_js: "7"
46-
os: linux
47-
env: NODE_SCRIPT=tests/run_e2e.js
44+
# # Optional builds.
45+
# - node_js: "6"
46+
# os: linux
47+
# env: NODE_SCRIPT="tests/run_e2e.js --nightly --ng4"
48+
# - node_js: "7"
49+
# os: linux
50+
# env: NODE_SCRIPT=tests/run_e2e.js
4851

4952
before_install:
5053
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; fi

tests/e2e/tests/test/test-fail-watch.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import { expectToFail } from '../../utils/utils';
77
import { readFile, writeFile } from '../../utils/fs';
88

99

10-
const karmaGoodRegEx = /Executed 3 of 3 SUCCESS/;
10+
// Karma is only really finished with a run when it shows a non-zero total time in the first slot.
11+
const karmaGoodRegEx = /Executed 3 of 3 SUCCESS \(\d+\.\d+ secs/;
1112

1213
export default function () {
1314
let originalSpec: string;
@@ -25,4 +26,3 @@ export default function () {
2526
throw err;
2627
});
2728
}
28-

tests/e2e/utils/process.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export function execAndWaitForOutputToMatch(cmd: string, args: string[], match:
133133
}
134134

135135
export function silentExecAndWaitForOutputToMatch(cmd: string, args: string[], match: RegExp) {
136-
return _exec({ silent: true, waitForMatch: match }, cmd, args);
136+
return _exec({ silent: false, waitForMatch: match }, cmd, args);
137137
}
138138

139139

0 commit comments

Comments
 (0)