fix(core): update
This commit is contained in:
		| @@ -1,10 +1,15 @@ | |||||||
| import { tap, expect, webhelpers } from '../ts/index'; | import { tap, expect, webhelpers } from '../ts/index'; | ||||||
|  |  | ||||||
| tap.preTask('hi there', async () => { | tap.preTask('custompretask', async () => { | ||||||
|   const myElement = webhelpers.fixture(webhelpers.html`<div></div>`); |  | ||||||
|   console.log('this is a pretask'); |   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 () => { | const test1 = tap.test('my first test -> expect true to be true', async () => { | ||||||
|   return expect(true).to.be.true; |   return expect(true).to.be.true; | ||||||
| }); | }); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user