diff --git a/src/internal/tabbable.test.ts b/src/internal/tabbable.test.ts index d557191b..5a1b8d4d 100644 --- a/src/internal/tabbable.test.ts +++ b/src/internal/tabbable.test.ts @@ -6,6 +6,8 @@ import { html } from 'lit'; import { sendKeys } from '@web/test-runner-commands'; import type { SlDialog } from '../shoelace.js'; +import '../../../dist/shoelace.js'; + async function holdShiftKey(callback: () => Promise) { await sendKeys({ down: 'Shift' }); await callback(); @@ -62,7 +64,6 @@ it('Should allow tabbing to slotted elements', async () => { `); - await aTimeout(0); const drawer = el.shadowRoot?.querySelector('sl-drawer'); if (drawer === null || drawer === undefined) throw Error('Could not find drawer inside of the test element');