You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
er.message is overwritten multiple times in the code.
This is incompatible with assertion libraries that make er.message readonly(getter, but no setter)
Please make "tap" compatible with "should" or update bdd example with compatible assertion library.
Example
var tap = require('tap')
let should = require('should')
tap.test('hello-world', (tap) => {
x = -1
x.should.equal(-2)
tap.end()
})
Expected
not ok 1 - AssertionError: expected -1 to be -2
Actual
not ok 1 - Cannot set property message of AssertionError which has only a getter
Versions
"should": "^13.2.1"
"tap": "^11.1.3"
node v8.10.0
The text was updated successfully, but these errors were encountered:
er.message is overwritten multiple times in the code.
This is incompatible with assertion libraries that make er.message readonly(getter, but no setter)
Please make "tap" compatible with "should" or update bdd example with compatible assertion library.
Example
Expected
Actual
Versions
The text was updated successfully, but these errors were encountered: