dees-catalog/test/test.browser.ts

13 lines
363 B
TypeScript
Raw Normal View History

2021-03-06 15:48:02 +00:00
import { tap, expect, webhelpers } from '@pushrocks/tapbundle';
import * as deesCatalog from '../ts_web';
tap.test('should create a working button', async () => {
2021-03-06 15:48:22 +00:00
const button: deesCatalog.DeesButton = await webhelpers.fixture(
2021-03-06 15:59:52 +00:00
webhelpers.html`<dees-button></dees-button>`
2021-03-06 15:48:22 +00:00
);
2021-03-06 15:48:02 +00:00
expect(button).to.be.instanceOf(deesCatalog.DeesButton);
2021-03-06 15:48:22 +00:00
});
2021-03-06 15:48:02 +00:00
2021-03-06 15:48:22 +00:00
tap.start();