| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 989ea68 commit 6ec5798
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,6 +32,8 @@ const testFixtures = fixtures.path('test-runner'); | |||
| 32 | 32 | assert.match(stdout, /not ok 2 - this should fail/); | |
| 33 | 33 | assert.match(stdout, /ok 3 - .+subdir.+subdir_test\.js/); | |
| 34 | 34 | assert.match(stdout, /ok 4 - this should pass/); | |
| 35 | + assert.match(stdout, /ok 5 - this should be skipped/); | ||
| 36 | + assert.match(stdout, /ok 6 - this should be executed/); | ||
| 35 | 37 | } | |
| 36 | 38 | ||
| 37 | 39 | { | |
@@ -44,6 +46,8 @@ const testFixtures = fixtures.path('test-runner'); | |||
| 44 | 46 | assert.match(stdout, /not ok 2 - this should fail/); | |
| 45 | 47 | assert.match(stdout, /ok 3 - .+subdir.+subdir_test\.js/); | |
| 46 | 48 | assert.match(stdout, /ok 4 - this should pass/); | |
| 49 | + assert.match(stdout, /ok 5 - this should be skipped/); | ||
| 50 | + assert.match(stdout, /ok 6 - this should be executed/); | ||
| 47 | 51 | assert.strictEqual(child.status, 1); | |
| 48 | 52 | assert.strictEqual(child.signal, null); | |
| 49 | 53 | assert.strictEqual(child.stderr.toString(), ''); | |
@@ -91,6 +95,8 @@ const testFixtures = fixtures.path('test-runner'); | |||
| 91 | 95 | assert.match(stdout, /not ok 2 - this should fail/); | |
| 92 | 96 | assert.match(stdout, /ok 3 - .+subdir.+subdir_test\.js/); | |
| 93 | 97 | assert.match(stdout, /ok 4 - this should pass/); | |
| 98 | + assert.match(stdout, /ok 5 - this should be skipped/); | ||
| 99 | + assert.match(stdout, /ok 6 - this should be executed/); | ||
| 94 | 100 | } | |
| 95 | 101 | ||
| 96 | 102 | { | |
@@ -156,9 +162,12 @@ const testFixtures = fixtures.path('test-runner'); | |||
| 156 | 162 | assert.match(stdout, /not ok 4 - level 0b/); | |
| 157 | 163 | assert.match(stdout, / {2}error: 'level 0b error'/); | |
| 158 | 164 | assert.match(stdout, /# tests 8/); | |
| 165 | + assert.match(stdout, /# suites 0/); | ||
| 159 | 166 | assert.match(stdout, /# pass 4/); | |
| 160 | 167 | assert.match(stdout, /# fail 3/); | |
| 168 | + assert.match(stdout, /# cancelled 0/); | ||
| 161 | 169 | assert.match(stdout, /# skipped 1/); | |
| 170 | + assert.match(stdout, /# todo 0/); | ||
| 162 | 171 | } | |
| 163 | 172 | ||
| 164 | 173 | { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments