Skip to content

Commit 3db0785

Browse files
committed
[do not merge] trigger lint error in tsx
1 parent ffda2f0 commit 3db0785

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/react/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import userEvent from '#src'
44
import {getUISelection, getUIValue} from '#src/document'
55
import {addListeners} from '#testHelpers'
66

7+
const a = 'unused const should cause lint error'
8+
79
// Run twice to verify we handle this correctly no matter
810
// if React applies its magic before or after our document preparation.
911
test.each([0, 1])('maintain cursor position on controlled input', async () => {

0 commit comments

Comments
 (0)