fix(core): update

This commit is contained in:
2021-01-26 03:15:50 +00:00
parent 45ee6eca31
commit 8ee456da5f
3 changed files with 17 additions and 15 deletions

View File

@ -23,12 +23,14 @@ const test3 = tap.test(
}
);
const test4 = tap.skip.test('my 4th test -> should fail', async (tools) => {
const test4 = tap.test('my 4th test -> should fail', async (tools) => {
tools.allowFailure();
expect(false).to.be.true;
return 'hello';
});
const test5 = tap.test('my 5th test -> should pass in about 500ms', async (tools) => {
const test4Result = await test4.testResultPromise;
tools.timeout(1000);
await tools.delayFor(500);
});