fix(core): fix node 10.x.x compatibility
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
import { tap, expect } from '../dist/index'
|
||||
import { tap, expect } from '../dist/index';
|
||||
|
||||
let tapwrap = tap.wrap(async () => {
|
||||
tap.test('should do something', async () => {
|
||||
console.log('test1')
|
||||
})
|
||||
tap.start()
|
||||
})
|
||||
console.log('test1');
|
||||
});
|
||||
tap.start();
|
||||
});
|
||||
|
||||
tapwrap.run()
|
||||
tapwrap.run();
|
||||
|
Reference in New Issue
Block a user