Skip to content

Commit

Permalink
move old hooks to old_hooks/
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherChudzicki committed Feb 26, 2024
1 parent a9cbca6 commit ffb90c9
Show file tree
Hide file tree
Showing 13 changed files with 636 additions and 637 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"files": [
"dist/"
],
"exports": {
".": "./dist/index.js"
},
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
Expand Down
17 changes: 0 additions & 17 deletions src/hooks.ts

This file was deleted.

13 changes: 0 additions & 13 deletions src/hooks/index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/hooks/useInfiniteSearch.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ describe("useInfiniteSearchApi", () => {
"Makes requests with aggregations based on endpoint",
async ({ expected, endpoint }) => {
const fetcher = getDefferedFetcher({ count: 23 })
const { rerender } = renderHook(useInfiniteSearch, {
renderHook(useInfiniteSearch, {
initialProps: {
params: {
queryText: "one",
Expand Down
Loading

0 comments on commit ffb90c9

Please sign in to comment.