We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b6add2 commit aa98878Copy full SHA for aa98878
1 file changed
e2e/__tests__/failures.test.js
@@ -43,7 +43,7 @@ test('works with node assert', () => {
43
44
// Node 9 started to include the error for `doesNotThrow`
45
// https://github.com/nodejs/node/pull/12167
46
- if (nodeMajorVersion >= 9) {
+ if (nodeMajorVersion >= 8) {
47
expect(summary).toContain(`
48
assert.doesNotThrow(function)
49
@@ -71,7 +71,7 @@ test('works with node assert', () => {
71
Got unwanted exception.
72
`;
73
74
- if (nodeMajorVersion === 9) {
+ if (nodeMajorVersion === 8 || nodeMajorVersion === 9) {
75
const specificErrorMessage = `Message:
76
77
err!
0 commit comments