From caae665e0c1da763ec8f285c99d2d064d27cb25d Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Fri, 23 Sep 2022 10:56:42 +0200 Subject: [PATCH] Add unit tests --- .../dashboard-published-status.test.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/Umbraco.Web.UI.Client/src/backoffice/dashboards/published-status/dashboard-published-status.test.ts diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/dashboards/published-status/dashboard-published-status.test.ts b/src/Umbraco.Web.UI.Client/src/backoffice/dashboards/published-status/dashboard-published-status.test.ts new file mode 100644 index 0000000000..ecbe84b6aa --- /dev/null +++ b/src/Umbraco.Web.UI.Client/src/backoffice/dashboards/published-status/dashboard-published-status.test.ts @@ -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``); + }); + + it('is defined with its own instance', () => { + expect(element).to.be.instanceOf(UmbDashboardPublishedStatusElement); + }); +});