Adapt test to new async callback behaviour
This commit is contained in:
parent
d8113a4470
commit
6fd8a52da0
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ o.spec("promise", function() {
|
||||||
callAsync(function() {resolve(promise)})
|
callAsync(function() {resolve(promise)})
|
||||||
})
|
})
|
||||||
|
|
||||||
promise.then(null, done)
|
promise.then(null, () => done())
|
||||||
})
|
})
|
||||||
o("non-function onFulfilled is ignored", function(done) {
|
o("non-function onFulfilled is ignored", function(done) {
|
||||||
var promise = Promise.resolve(1)
|
var promise = Promise.resolve(1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue