Skip to content

Commit

Permalink
clean up import
Browse files Browse the repository at this point in the history
  • Loading branch information
ph-fritsche committed Aug 18, 2022
1 parent 0e07093 commit 7a1e5c9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/clipboard/cut.ts
Original file line number Diff line number Diff line change
@@ -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<HTMLInputElement>(
Expand Down Expand Up @@ -109,7 +108,7 @@ describe('without Clipboard API', () => {
})
describe('on shadow DOM', () => {
test('cut in an input element', async () => {
const {element, user} = setup<ShadowInput>(
const {element, user} = setup<CustomElements['shadow-input']>(
'<shadow-input value="test"></shadow-input>',
{
selection: {anchorOffset: 0, focusOffset: 4},
Expand Down

0 comments on commit 7a1e5c9

Please sign in to comment.