Skip to content

Commit

Permalink
Disable 'node/no-unsupported-features' rule for some testem related
Browse files Browse the repository at this point in the history
files.

Avoids backporting #17254 for now and is OK because CI only runs on >=
Node 6
  • Loading branch information
kategengler committed Dec 6, 2018
1 parent 67ee7ed commit 355ec30
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/failure-only-testem-reporter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable node/no-unsupported-features */

const TapReporter = require('testem/lib/reporters/tap_reporter');

class FailureOnlyReporter extends TapReporter {
Expand Down
2 changes: 2 additions & 0 deletions testem.dist.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable node/no-unsupported-features */

const FailureOnlyReporter = require('./lib/failure-only-testem-reporter');

class FailureOnlyPerBrowserReporter extends FailureOnlyReporter {
Expand Down
2 changes: 2 additions & 0 deletions testem.travis-browsers.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable node/no-unsupported-features */

const FailureOnlyReporter = require('./lib/failure-only-testem-reporter');

module.exports = {
Expand Down

0 comments on commit 355ec30

Please sign in to comment.