Skip to content

Commit

Permalink
Merge branch 'main' into readme-grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
ai authored Feb 23, 2024
2 parents 6668416 + 759ed40 commit d1a2a8a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 19 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"@logux/eslint-config": "^52.0.2",
"@size-limit/preset-small-lib": "^11.0.2",
"@types/jsdom": "^21.1.6",
"@types/node": "^20.11.19",
"@types/react": "^18.2.57",
"@types/node": "^20.11.20",
"@types/react": "^18.2.58",
"@types/react-dom": "^18.2.19",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
Expand Down
26 changes: 13 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions test/menu.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,23 +143,22 @@ test('moves focus by typing item name', async () => {
press(window, 'a')
equal(window.document.activeElement, items[1])

await setTimeout(50)
press(window, 'G')
equal(window.document.activeElement, items[2])

await setTimeout(100)
await setTimeout(150)
press(window, 'h')
equal(window.document.activeElement, items[0])
equal(clicked, 0)

press(window, 'a')
equal(window.document.activeElement, items[0])

await setTimeout(100)
await setTimeout(150)
press(window, 'a')
equal(window.document.activeElement, items[1])

await setTimeout(100)
await setTimeout(150)
press(window, 'Backspace')
equal(window.document.activeElement, items[1])

Expand Down

0 comments on commit d1a2a8a

Please sign in to comment.