fix(core): update
This commit is contained in:
		| @@ -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; | ||||
| }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user