fix(core): update

This commit is contained in:
Philipp Kunz 2021-03-06 15:48:22 +00:00
parent bdd766e4bc
commit 2a613c96a0
2 changed files with 7 additions and 5 deletions

View File

@ -1,12 +1,14 @@
import { tap, expect, webhelpers } from '@pushrocks/tapbundle'; import { tap, expect, webhelpers } from '@pushrocks/tapbundle';
webhelpers.enable(); webhelpers.enable();
const html = webhelpers.html const html = webhelpers.html;
import * as deesCatalog from '../ts_web'; import * as deesCatalog from '../ts_web';
tap.test('should create a working button', async () => { tap.test('should create a working button', async () => {
const button: deesCatalog.DeesButton = await webhelpers.fixture(html`<dees-button ></dees-button>`) const button: deesCatalog.DeesButton = await webhelpers.fixture(
html`<dees-button></dees-button>`
);
expect(button).to.be.instanceOf(deesCatalog.DeesButton); expect(button).to.be.instanceOf(deesCatalog.DeesButton);
}) });
tap.start(); tap.start();