We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02a8394 commit ec0ce6aCopy full SHA for ec0ce6a
1 file changed
integration-tests/__tests__/failures.test.js
@@ -42,11 +42,11 @@ test('works with node assert', () => {
42
if (nodeMajorVersion >= 9) {
43
expect(summary).toContain(`
44
assert.doesNotThrow(function)
45
-
+
46
Expected the function not to throw an error.
47
Instead, it threw:
48
[Error: err!]
49
50
Message:
51
Got unwanted exception.
52
`);
@@ -89,17 +89,17 @@ test('works with node assert', () => {
89
if (nodeMajorVersion >= 10) {
90
const ifErrorMessage = `
91
assert.ifError(received, expected)
92
93
Expected value ifError to:
94
null
95
Received:
96
1
97
98
99
ifError got unwanted exception: 1
100
101
Difference:
102
103
Comparing two different types of values. Expected null but received number.
104
105
65 |
0 commit comments