revert to chai

This commit is contained in:
2018-02-27 22:38:40 +01:00
parent b8611e0ae7
commit 2b9657bc5d
6 changed files with 85 additions and 192 deletions

View File

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