now supports tap.wrap

This commit is contained in:
2017-07-06 00:06:18 +02:00
parent 15bbf7f10c
commit d22fc1b688
13 changed files with 121 additions and 25 deletions

10
test/test.tapwrap.ts Normal file
View File

@ -0,0 +1,10 @@
import { tap, expect } from '../dist/index'
let tapwrap = tap.wrap(async () => {
tap.test('should do something', async () => {
console.log('test1')
})
tap.start()
})
tapwrap.run()