dees-catalog/test/test.browser.ts

13 lines
362 B
TypeScript
Raw Permalink Normal View History

2023-08-07 17:13:29 +00:00
import { tap, expect, webhelpers } from '@push.rocks/tapbundle';
2021-03-06 15:48:02 +00:00
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();