Skip to content

Commit

Permalink
Revert "chore: fix failures e2e test for node 8 (#7446)"
Browse files Browse the repository at this point in the history
This reverts commit aa98878.
  • Loading branch information
SimenB committed Dec 23, 2018
1 parent 8162bc9 commit 85890f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/__tests__/failures.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ test('works with node assert', () => {

// Node 9 started to include the error for `doesNotThrow`
// https://github.com/nodejs/node/pull/12167
if (nodeMajorVersion >= 8) {
if (nodeMajorVersion >= 9) {
expect(summary).toContain(`
assert.doesNotThrow(function)
Expand Down Expand Up @@ -71,7 +71,7 @@ test('works with node assert', () => {
Got unwanted exception.
`;

if (nodeMajorVersion === 8 || nodeMajorVersion === 9) {
if (nodeMajorVersion === 9) {
const specificErrorMessage = `Message:
Got unwanted exception.
err!
Expand Down

0 comments on commit 85890f2

Please sign in to comment.