Skip to content

Commit e36e922

Browse files
ph-fritscheChristian24
authored andcommitted
clean up import
1 parent dea9287 commit e36e922

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/clipboard/cut.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import type {ShadowInput} from '../_helpers/elements/shadow-input'
21
import userEvent from '#src'
3-
import {render, setup} from '#testHelpers'
2+
import {CustomElements, render, setup} from '#testHelpers'
43

54
test('cut selected value', async () => {
65
const {getEvents, user} = setup<HTMLInputElement>(
@@ -109,7 +108,7 @@ describe('without Clipboard API', () => {
109108
})
110109
describe('on shadow DOM', () => {
111110
test('cut in an input element', async () => {
112-
const {element, user} = setup<ShadowInput>(
111+
const {element, user} = setup<CustomElements['shadow-input']>(
113112
'<shadow-input value="test"></shadow-input>',
114113
{
115114
selection: {anchorOffset: 0, focusOffset: 4},

0 commit comments

Comments
 (0)