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

This commit is contained in:
spacejack 2017-10-28 18:32:58 -04:00 committed by Pierre-Yves Gérardy
parent d4181d17c8
commit b771b67111
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

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