File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
src/packages/documents/document-redirect-management Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ import { UmbDashboardRedirectManagementElement } from './dashboard-redirect-management.element.js';
3
+ import { expect, fixture, html } from '@open-wc/testing';
4
+
5
+ import { type UmbTestRunnerWindow, defaultA11yConfig } from '@umbraco-cms/internal/test-utils';
6
+
7
+ describe('UmbDashboardRedirectManagement', () => {
8
+ let element: UmbDashboardRedirectManagementElement;
9
+
10
+ beforeEach(async () => {
11
+ element = await fixture(html`<umb-dashboard-redirect-management></umb-dashboard-redirect-management>`);
12
+ });
13
+
14
+ it('is defined with its own instance', () => {
15
+ expect(element).to.be.instanceOf(UmbDashboardRedirectManagementElement);
16
+ });
17
+
18
+ if ((window as UmbTestRunnerWindow).__UMBRACO_TEST_RUN_A11Y_TEST) {
19
+ it('passes the a11y audit', async () => {
20
+ await expect(element).to.be.accessible(defaultA11yConfig);
21
+ });
22
+ }
23
+ });
24
+ */
You can’t perform that action at this time.
0 commit comments