dees-editor/test/test.browser.ts

15 lines
504 B
TypeScript
Raw Normal View History

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