Revert eslintrc change, return Promise instead of using async/await
This commit is contained in:
parent
0736f848cb
commit
3fe56bb503
2 changed files with 2 additions and 5 deletions
|
|
@ -5,9 +5,6 @@ module.exports = {
|
|||
"es6": true,
|
||||
"node": true
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2017,
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"rules": {
|
||||
"accessor-pairs": "error",
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue