Skip to content

Commit

Permalink
Tweak reporter integration tests
Browse files Browse the repository at this point in the history
Maybe it's the IPC changes, but they started to fail on Windows.
  • Loading branch information
novemberborn committed Sep 20, 2020
1 parent dc83c39 commit 759c3fa
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion test-tap/fixture/report/regular/uncaught-exception.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const test = require('../../../..');

test('passes', t => {
setTimeout(() => {
setImmediate(() => {
throw new Error('Can’t catch me');
});
t.pass();
Expand Down
4 changes: 2 additions & 2 deletions test-tap/reporters/mini.regular.v10.log
Original file line number Diff line number Diff line change
Expand Up @@ -515,13 +515,13 @@

uncaught-exception.js:5

4: setTimeout(() => {
4: setImmediate(() => {
 5: throw new Error('Can’t catch me');
6: });

Error: Can’t catch me

› Timeout.setTimeout (test-tap/fixture/report/regular/uncaught-exception.js:5:9)
› Immediate.setImmediate (test-tap/fixture/report/regular/uncaught-exception.js:5:9)



Expand Down
7 changes: 3 additions & 4 deletions test-tap/reporters/mini.regular.v12.log
Original file line number Diff line number Diff line change
Expand Up @@ -497,15 +497,14 @@

uncaught-exception.js:5

4: setTimeout(() => {
4: setImmediate(() => {
 5: throw new Error('Can’t catch me');
6: });

Error: Can’t catch me

› Timeout._onTimeout (test-tap/fixture/report/regular/uncaught-exception.js:5:9)
› listOnTimeout (internal/timers.js)
› processTimers (internal/timers.js)
› Immediate.<anonymous> (test-tap/fixture/report/regular/uncaught-exception.js:5:9)
› processImmediate (internal/timers.js)



Expand Down
7 changes: 3 additions & 4 deletions test-tap/reporters/mini.regular.v14.log
Original file line number Diff line number Diff line change
Expand Up @@ -497,15 +497,14 @@

uncaught-exception.js:5

4: setTimeout(() => {
4: setImmediate(() => {
 5: throw new Error('Can’t catch me');
6: });

Error: Can’t catch me

› Timeout._onTimeout (test-tap/fixture/report/regular/uncaught-exception.js:5:9)
› listOnTimeout (internal/timers.js)
› processTimers (internal/timers.js)
› Immediate.<anonymous> (test-tap/fixture/report/regular/uncaught-exception.js:5:9)
› processImmediate (internal/timers.js)



Expand Down
4 changes: 3 additions & 1 deletion test-tap/reporters/tap.regular.v10.log
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,9 @@ not ok 25 - Error: Can’t catch me
---
name: Error
message: Can’t catch me
at: 'Timeout.setTimeout (test-tap/fixture/report/regular/uncaught-exception.js:5:9)'
at: >-
Immediate.setImmediate
(test-tap/fixture/report/regular/uncaught-exception.js:5:9)
...
---tty-stream-chunk-separator
# uncaught-exception.js exited with a non-zero exit code: 1
Expand Down
9 changes: 5 additions & 4 deletions test-tap/reporters/tap.regular.v12.log
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,11 @@ not ok 25 - Error: Can’t catch me
---
name: Error
message: Can’t catch me
at: |-
Timeout._onTimeout (test-tap/fixture/report/regular/uncaught-exception.js:5:9)
listOnTimeout (internal/timers.js)
processTimers (internal/timers.js)
at: >-
Immediate.<anonymous>
(test-tap/fixture/report/regular/uncaught-exception.js:5:9)

processImmediate (internal/timers.js)
...
---tty-stream-chunk-separator
# uncaught-exception.js exited with a non-zero exit code: 1
Expand Down
9 changes: 5 additions & 4 deletions test-tap/reporters/tap.regular.v14.log
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,11 @@ not ok 25 - Error: Can’t catch me
---
name: Error
message: Can’t catch me
at: |-
Timeout._onTimeout (test-tap/fixture/report/regular/uncaught-exception.js:5:9)
listOnTimeout (internal/timers.js)
processTimers (internal/timers.js)
at: >-
Immediate.<anonymous>
(test-tap/fixture/report/regular/uncaught-exception.js:5:9)

processImmediate (internal/timers.js)
...
---tty-stream-chunk-separator
# uncaught-exception.js exited with a non-zero exit code: 1
Expand Down
4 changes: 2 additions & 2 deletions test-tap/reporters/verbose.regular.v10.log
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@

uncaught-exception.js:5

4: setTimeout(() => {
4: setImmediate(() => {
 5: throw new Error('Can’t catch me');
6: });

Error: Can’t catch me

› Timeout.setTimeout (test-tap/fixture/report/regular/uncaught-exception.js:5:9)
› Immediate.setImmediate (test-tap/fixture/report/regular/uncaught-exception.js:5:9)

---tty-stream-chunk-separator
✖ uncaught-exception.js exited with a non-zero exit code: 1
Expand Down
7 changes: 3 additions & 4 deletions test-tap/reporters/verbose.regular.v12.log
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,14 @@

uncaught-exception.js:5

4: setTimeout(() => {
4: setImmediate(() => {
 5: throw new Error('Can’t catch me');
6: });

Error: Can’t catch me

› Timeout._onTimeout (test-tap/fixture/report/regular/uncaught-exception.js:5:9)
› listOnTimeout (internal/timers.js)
› processTimers (internal/timers.js)
› Immediate.<anonymous> (test-tap/fixture/report/regular/uncaught-exception.js:5:9)
› processImmediate (internal/timers.js)

---tty-stream-chunk-separator
✖ uncaught-exception.js exited with a non-zero exit code: 1
Expand Down
7 changes: 3 additions & 4 deletions test-tap/reporters/verbose.regular.v14.log
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,14 @@

uncaught-exception.js:5

4: setTimeout(() => {
4: setImmediate(() => {
 5: throw new Error('Can’t catch me');
6: });

Error: Can’t catch me

› Timeout._onTimeout (test-tap/fixture/report/regular/uncaught-exception.js:5:9)
› listOnTimeout (internal/timers.js)
› processTimers (internal/timers.js)
› Immediate.<anonymous> (test-tap/fixture/report/regular/uncaught-exception.js:5:9)
› processImmediate (internal/timers.js)

---tty-stream-chunk-separator
✖ uncaught-exception.js exited with a non-zero exit code: 1
Expand Down

0 comments on commit 759c3fa

Please sign in to comment.