dees-editor/test/test.browser.ts

16 lines
511 B
TypeScript
Raw Normal View History

2023-09-21 18:16:32 +00:00
import { expect, expectAsync, tap, webhelpers } from '@push.rocks/tapbundle';
2022-03-18 15:56:50 +00:00
import * as deesEditorLib from '../ts_web/index.js';
tap.test('test dees-editor', async () => {
2023-09-21 18:16:32 +00:00
const deesEditor = new deesEditorLib.DeesEditor();
expect(deesEditor).toBeInstanceOf(deesEditorLib.DeesEditor);
2022-03-18 15:56:50 +00:00
});
tap.test('test dees-terminal', async () => {
const deesTerminal = await webhelpers.fixture(`<dees-terminal></dees-terminal>`);
expect(deesTerminal).toBeInstanceOf(deesEditorLib.DeesTerminal);
2023-09-21 18:16:32 +00:00
});
2022-03-18 15:56:50 +00:00
2023-09-21 18:16:32 +00:00
tap.start();