Skip to content

Commit d013ca5

Browse files
committed
fixup! test_runner: support test order randomization
1 parent 5745058 commit d013ca5

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

β€Žtest/fixtures/test-runner/output/randomize_output_cli.jsβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ spawn(
88
[
99
'--no-warnings',
1010
'--test-reporter', 'spec',
11+
'--test-concurrency', '1',
1112
'--test-random-seed=12345',
1213
'--test',
1314
fixtures.path('test-runner/shards/a.cjs'),

β€Žtest/fixtures/test-runner/output/randomize_output_cli.snapshotβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
βœ” g.cjs this should pass (*ms)
2-
βœ” e.cjs this should pass (*ms)
3-
βœ” i.cjs this should pass (*ms)
2+
βœ” j.cjs this should pass (*ms)
43
βœ” a.cjs this should pass (*ms)
5-
βœ” b.cjs this should pass (*ms)
64
βœ” h.cjs this should pass (*ms)
7-
βœ” f.cjs this should pass (*ms)
85
βœ” d.cjs this should pass (*ms)
6+
βœ” b.cjs this should pass (*ms)
7+
βœ” i.cjs this should pass (*ms)
8+
βœ” e.cjs this should pass (*ms)
99
βœ” c.cjs this should pass (*ms)
10-
βœ” j.cjs this should pass (*ms)
10+
βœ” f.cjs this should pass (*ms)
1111
β„Ή Randomized test order seed: 12345
1212
β„Ή tests 10
1313
β„Ή suites 0

0 commit comments

Comments
Β (0)