revert to chai
This commit is contained in:
@ -4,7 +4,7 @@ import * as smartq from 'smartq'
|
||||
let asyncWrapper = async () => {
|
||||
smartchai.expect('hi there').to.startWith('hi')
|
||||
let deferred = smartq.defer()
|
||||
smartchai.expect(await deferred.promise).to.be.null()
|
||||
smartchai.expect(deferred.promise).to.eventually.be.null
|
||||
deferred.resolve(null)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user