Files
dees-catalog/test/test.browser.ts

13 lines
391 B
TypeScript
Raw Normal View History

2025-06-24 22:45:50 +00:00
import { tap, expect, webhelpers } from '@git.zone/tstest/tapbundle';
2021-03-06 15:48:02 +00:00
2025-06-24 22:45:50 +00:00
import * as deesCatalog from '../ts_web/index.js';
2021-03-06 15:48:02 +00:00
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 19:46:30 +01:00
expect(button).toBeInstanceOf(deesCatalog.DeesButton);
2021-03-06 15:48:22 +00:00
});
2021-03-06 15:48:02 +00:00
2025-06-24 22:45:50 +00:00
export default tap.start();