Merge pull request #2004 from spacejack/ospec-eslint-fixes

Update eslint rules for ospec
This commit is contained in:
Isiah Meadows 2017-10-28 20:18:09 -04:00 committed by GitHub
commit 21e1e6c511
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ module.exports = {
"commonjs": true,
"es6": true,
"node": true
},
},
"extends": "eslint:recommended",
"rules": {
"accessor-pairs": "error",

View file

@ -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) {

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