diff --git a/tests/clipboard/cut.ts b/tests/clipboard/cut.ts index 422747e3..f1d47bed 100644 --- a/tests/clipboard/cut.ts +++ b/tests/clipboard/cut.ts @@ -1,6 +1,5 @@ -import type {ShadowInput} from '../_helpers/elements/shadow-input' import userEvent from '#src' -import {render, setup} from '#testHelpers' +import {CustomElements, render, setup} from '#testHelpers' test('cut selected value', async () => { const {getEvents, user} = setup( @@ -109,7 +108,7 @@ describe('without Clipboard API', () => { }) describe('on shadow DOM', () => { test('cut in an input element', async () => { - const {element, user} = setup( + const {element, user} = setup( '', { selection: {anchorOffset: 0, focusOffset: 4},