remove unused test

This commit is contained in:
Mads Rasmussen
2024-07-03 10:40:33 +02:00
parent c78275fca1
commit e9afe7d2d8

View File

@@ -1,22 +0,0 @@
import { UmbEditableWorkspaceElement } from './editable-workspace.element.js';
import { expect, fixture, html } from '@open-wc/testing';
import { type UmbTestRunnerWindow, defaultA11yConfig } from '@umbraco-cms/internal/test-utils';
describe('UmbEditableWorkspaceElement', () => {
let element: UmbEditableWorkspaceElement;
beforeEach(async () => {
element = await fixture(html`<umb-editable-workspace></umb-editable-workspace>`);
});
it('is defined with its own instance', () => {
expect(element).to.be.instanceOf(UmbEditableWorkspaceElement);
});
if ((window as UmbTestRunnerWindow).__UMBRACO_TEST_RUN_A11Y_TEST) {
it('passes the a11y audit', async () => {
// TODO: should we use shadowDom here?
await expect(element).to.be.accessible(defaultA11yConfig);
});
}
});