diff --git a/.eslintrc.js b/.eslintrc.js index 4eeef493..a38c5e1b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,9 +5,6 @@ module.exports = { "es6": true, "node": true }, - "parserOptions": { - "ecmaVersion": 2017, - }, "extends": "eslint:recommended", "rules": { "accessor-pairs": "error", diff --git a/ospec/tests/test-ospec.js b/ospec/tests/test-ospec.js index 9b9f24d5..4ef4614d 100644 --- a/ospec/tests/test-ospec.js +++ b/ospec/tests/test-ospec.js @@ -200,8 +200,8 @@ o.spec("ospec", function() { }) }) - o("promise functions", async function() { - await wrapPromise(function() { + o("promise functions", function() { + return wrapPromise(function() { o(a).equals(b) o(a).equals(1)("a and b should be initialized") })