Add unit tests

This commit is contained in:
Jacob Overgaard
2022-09-23 10:56:42 +02:00
parent 8bb6938d6b
commit caae665e0c

View File

@@ -0,0 +1,15 @@
import { expect, fixture, html } from '@open-wc/testing';
import { UmbDashboardPublishedStatusElement } from './dashboard-published-status.element';
describe('UmbDashboardPublishedStatus', () => {
let element: UmbDashboardPublishedStatusElement;
beforeEach(async () => {
element = await fixture(html`<umb-dashboard-published-status></umb-dashboard-published-status>`);
});
it('is defined with its own instance', () => {
expect(element).to.be.instanceOf(UmbDashboardPublishedStatusElement);
});
});