fix(core): update
This commit is contained in:
parent
588c532d6d
commit
9304e6d736
@ -1,10 +1,15 @@
|
||||
import { tap, expect, webhelpers } from '../ts/index';
|
||||
|
||||
tap.preTask('hi there', async () => {
|
||||
const myElement = webhelpers.fixture(webhelpers.html`<div></div>`);
|
||||
tap.preTask('custompretask', async () => {
|
||||
console.log('this is a pretask');
|
||||
});
|
||||
|
||||
tap.test('should have access to webhelpers', async () => {
|
||||
const myElement = await webhelpers.fixture(webhelpers.html`<div></div>`);
|
||||
expect(myElement).to.be.instanceOf(HTMLElement);
|
||||
console.log(myElement);
|
||||
});
|
||||
|
||||
const test1 = tap.test('my first test -> expect true to be true', async () => {
|
||||
return expect(true).to.be.true;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user