dees-catalog/test/test.browser.ts
2022-03-18 19:46:30 +01:00

13 lines
361 B
TypeScript

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