Revert eslintrc change, return Promise instead of using async/await

This commit is contained in:
spacejack 2017-10-28 18:32:58 -04:00
parent 0736f848cb
commit 3fe56bb503
2 changed files with 2 additions and 5 deletions

View file

@ -5,9 +5,6 @@ module.exports = {
"es6": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2017,
},
"extends": "eslint:recommended",
"rules": {
"accessor-pairs": "error",

View file

@ -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")
})