Skip to content

Commit

Permalink
node 4 fix for test util
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Mosher authored and ljharb committed Jan 15, 2019
1 parent f165237 commit 10c9811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function getFilename(file) {
* skip tests iff ESLINT_VERSION is in provided `versions` array
*/
export function skipESLints(versions) {
if (!versions.includes(+process.env.ESLINT_VERSION)) {
if (versions.indexOf(+process.env.ESLINT_VERSION) === -1) {
return describe
} else {
return describe.skip
Expand Down

0 comments on commit 10c9811

Please sign in to comment.