-
-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
They're hella massive and blow up the terminal because of the huge "members" array that generally always contains at least one tap Test object.
- Loading branch information
Showing
6 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
TAP version 13 | ||
not ok 1 - check ee matches ___/# time=[0-9.]+(ms)?/~~~ { | ||
not ok 1 - should match pattern provided | ||
--- | ||
{"at":{"column":5,"file":"test/test/emitter-match.js","line":6},"found":{"_events":{},"_eventsCount":0,"_maxListeners":null,"domain":{},"truthy":false},"pattern":{"truthy":true},"source":"t.match(e, { truthy: true })\n"} | ||
... | ||
|
||
Bail out! # should match pattern provided | ||
} | ||
Bail out! # should match pattern provided | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
TAP version 13 | ||
# Subtest: check ee matches | ||
not ok 1 - should match pattern provided | ||
--- | ||
{"at":{"column":5,"file":"test/test/emitter-match.js","line":6},"found":{"_events":{},"_eventsCount":0,"_maxListeners":null,"domain":{},"truthy":false},"pattern":{"truthy":true},"source":"t.match(e, { truthy: true })\n"} | ||
... | ||
|
||
Bail out! # should match pattern provided | ||
Bail out! # should match pattern provided | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
TAP version 13 | ||
not ok 1 - check ee matches ___/# time=[0-9.]+(ms)?/~~~ { | ||
not ok 1 - should match pattern provided | ||
--- | ||
{"at":{"column":5,"file":"test/test/emitter-match.js","line":6},"found":{"_events":{},"_eventsCount":0,"_maxListeners":null,"domain":{},"truthy":false},"pattern":{"truthy":true},"source":"t.match(e, { truthy: true })\n"} | ||
... | ||
|
||
1..1 | ||
# failed 1 test | ||
} | ||
|
||
1..1 | ||
# failed 1 test | ||
___/# time=[0-9.]+(ms)?/~~~ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
var t = require('../..') | ||
var EE = require('events').EventEmitter | ||
t.test('check ee matches', function (t) { | ||
var e = new EE() | ||
e.truthy = false | ||
t.match(e, { truthy: true }) | ||
t.end() | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
TAP version 13 | ||
# Subtest: check ee matches | ||
not ok 1 - should match pattern provided | ||
--- | ||
{"at":{"column":5,"file":"test/test/emitter-match.js","line":6},"found":{"_events":{},"_eventsCount":0,"_maxListeners":null,"domain":{},"truthy":false},"pattern":{"truthy":true},"source":"t.match(e, { truthy: true })\n"} | ||
... | ||
|
||
1..1 | ||
# failed 1 test | ||
not ok 1 - check ee matches ___/# time=[0-9.]+(ms)?/~~~ | ||
|
||
1..1 | ||
# failed 1 test | ||
___/# time=[0-9.]+(ms)?/~~~ | ||
|