dees-catalog/test/test.browser.ts

13 lines
361 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
);
2022-03-18 18:46:30 +00:00
expect(button).toBeInstanceOf(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();