Skip to content

Commit b8efd8a

Browse files
committed
Build: Update to js-reporters 1.2.3
Relevant changes: * Reporter: Align `actual` with `expected` in TapReporter. (Robert Jackson) qunitjs/js-reporters#107
1 parent 4d83833 commit b8efd8a

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
},
4343
"dependencies": {
4444
"commander": "6.0.0",
45-
"js-reporters": "1.2.1",
45+
"js-reporters": "1.2.3",
4646
"node-watch": "0.6.4",
4747
"tiny-glob": "0.2.6"
4848
},

test/cli/fixtures/expected/tap-outputs.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ not ok 1 Throws match > bad
5858
---
5959
message: "match error"
6060
severity: failed
61-
actual: "Error: Match me with a pattern"
61+
actual : "Error: Match me with a pattern"
6262
expected: "/incorrect pattern/"
6363
stack: .*
6464
...
@@ -116,7 +116,7 @@ not ok 1 Unhandled Rejections > test passes just fine, but has a rejected promis
116116
---
117117
message: "Error thrown in non-returned promise!"
118118
severity: failed
119-
actual: {
119+
actual : {
120120
"message": "Error thrown in non-returned promise!",
121121
"stack": "Error: Error thrown in non-returned promise!\\n at /some/path/wherever/unhandled-rejection.js:13:11"
122122
}
@@ -128,7 +128,7 @@ not ok 2 global failure
128128
---
129129
message: "outside of a test context"
130130
severity: failed
131-
actual: {
131+
actual : {
132132
"message": "outside of a test context",
133133
"stack": "Error: outside of a test context\\n at Object.<anonymous> (/some/path/wherever/unhandled-rejection.js:20:18)"
134134
}
@@ -150,7 +150,7 @@ not ok 1 global failure
150150
---
151151
message: "No tests were run."
152152
severity: failed
153-
actual: {}
153+
actual : {}
154154
expected: undefined
155155
stack: Error: No tests were run.
156156
at done (.*)
@@ -173,7 +173,7 @@ not ok 2 Example > bad
173173
---
174174
message: "failed"
175175
severity: failed
176-
actual: false
176+
actual : false
177177
expected: true
178178
stack: at .* \\(.*source.js:7:14\\)
179179
...
@@ -191,7 +191,7 @@ not ok 2 Example > bad
191191
---
192192
message: "failed"
193193
severity: failed
194-
actual: false
194+
actual : false
195195
expected: true
196196
stack: at .* \\(.*source.min.js:1:.*\\)
197197
-> .*source.js:7:10
@@ -209,7 +209,7 @@ not ok 1 timeout > first
209209
---
210210
message: "Test took longer than 10ms; test timed out."
211211
severity: failed
212-
actual: null
212+
actual : null
213213
expected: undefined
214214
stack: at .* (.*timers.js.*)
215215
at .*(\n at .*)?(\n at .*)?
@@ -238,7 +238,7 @@ not ok 1 global failure
238238
---
239239
message: "No tests matched the filter "no matches"."
240240
severity: failed
241-
actual: {}
241+
actual : {}
242242
expected: undefined
243243
stack: Error: No tests matched the filter "no matches".
244244
at done (.*)

0 commit comments

Comments
 (0)