Skip to content

Commit

Permalink
Feature: useFocus hook (#99)
Browse files Browse the repository at this point in the history
* Ported usefocus

* Unified testing components, started writing tests for `useFocus`

* Added test and docs

* Return {} instead of undefined when disabled

* Moved to smaller utilities

* Fixed test warnings

* Attempted fix with waitFor

* Revert "Attempted fix with waitFor"

This reverts commit 1d58fac.

* Doc refinement

* fix

* test

* Potential fix?

* Better auto cleanup

* Testing without screen

* test

* test

* fixed?

* Testing singular tests

* test

* test

* test

* Revert "test"

This reverts commit b62e363.

* revert

* try

* test

* test

* test

* test

* revert

* Final test

* test

* Skipped tests

* fixed lint

* revert some stuff

* removed some more stuff

* Resolve package lock conflict

* ...

* Format

* Fix CodeBlock prop name

* Installed Test Library user event package

---------

Co-authored-by: endigo9740 <gundamx9740@gmail.com>
  • Loading branch information
Hugos68 and endigo9740 authored Jun 4, 2024
1 parent 0720e4a commit 9542fe3
Show file tree
Hide file tree
Showing 35 changed files with 3,846 additions and 3,973 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@sveltejs/vite-plugin-svelte": "4.0.0-next.2",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/svelte": "^5.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/eslint": "^8.56.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
Expand Down
Loading

0 comments on commit 9542fe3

Please sign in to comment.