diff --git a/package.json b/package.json index 6c0e553..c3cd7da 100644 --- a/package.json +++ b/package.json @@ -24,14 +24,14 @@ "ramda": "^0.26.1" }, "devDependencies": { - "chai": "^4.1.2", - "coveralls": "^3.0.0", - "eslint": "^5.0.1", + "chai": "^4.2.0", + "coveralls": "^3.0.4", + "eslint": "^6.0.1", "eslint-config-holidaycheck": "^0.13.1", - "eslint-plugin-node": "^8.0.1", - "mocha": "^5.0.1", - "nyc": "^13.1.0", - "pr-log": "^3.0.0" + "eslint-plugin-node": "^9.1.0", + "mocha": "^6.1.4", + "nyc": "^14.1.1", + "pr-log": "^3.1.0" }, "peerDependencies": { "eslint": ">= 4.0.0" diff --git a/test/rules/no-global-tests.js b/test/rules/no-global-tests.js index 0e4292f..c2204f4 100644 --- a/test/rules/no-global-tests.js +++ b/test/rules/no-global-tests.js @@ -104,7 +104,8 @@ ruleTester.run('no-global-tests', rule, { { code: 'import foo from "bar"; it("");', parserOptions: { - sourceType: 'module' + sourceType: 'module', + ecmaVersion: 2015 }, errors: [ { message: expectedErrorMessage, column: 24, line: 1 } ] }