diff --git a/.eslintrc.js b/.eslintrc.js index c14d0119..a38c5e1b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -4,7 +4,7 @@ module.exports = { "commonjs": true, "es6": true, "node": true - }, + }, "extends": "eslint:recommended", "rules": { "accessor-pairs": "error", diff --git a/ospec/ospec.js b/ospec/ospec.js index 147e2dc4..fabf4de8 100644 --- a/ospec/ospec.js +++ b/ospec/ospec.js @@ -1,4 +1,4 @@ -/* eslint-disable no-bitwise, no-process-exit */ +/* eslint-disable global-require, no-bitwise, no-process-exit */ "use strict" module.exports = new function init(name) { diff --git a/ospec/tests/test-ospec.js b/ospec/tests/test-ospec.js index 69f2e1f1..d1ddf496 100644 --- a/ospec/tests/test-ospec.js +++ b/ospec/tests/test-ospec.js @@ -188,8 +188,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") })