Skip to content

Commit

Permalink
Merge pull request #163 from Team-INSERT/revert-162-test/hooks
Browse files Browse the repository at this point in the history
Revert "test : custom hooks test"
  • Loading branch information
Ubinquitous authored Aug 16, 2024
2 parents a60df8c + 56192c0 commit 7bda6c1
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 2,421 deletions.
2 changes: 0 additions & 2 deletions components/FrameEditor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -297,15 +297,13 @@ const FrameEditor = ({
</td>
))}
<td
// eslint-disable-next-line
onClick={() => addTd(rowIndex)}
className={styles.SetRow}
aria-label="add button"
>
+
</td>
<td
// eslint-disable-next-line
onClick={() => removeLastTd(rowIndex)}
className={styles.SetRow}
aria-label="remove button"
Expand Down
74 changes: 0 additions & 74 deletions hooks/useDate.spec.ts

This file was deleted.

40 changes: 0 additions & 40 deletions hooks/useModal.spec.tsx

This file was deleted.

42 changes: 0 additions & 42 deletions hooks/useUser.spec.tsx

This file was deleted.

12 changes: 0 additions & 12 deletions jest.config.ts

This file was deleted.

1 change: 0 additions & 1 deletion jest.setup.ts

This file was deleted.

10 changes: 1 addition & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@
"start": "next start",
"postinstall": "husky install",
"format": "prettier --cache --write .",
"lint": "eslint --cache .",
"test": "jest"
"lint": "eslint --cache ."
},
"dependencies": {
"@next/third-parties": "^14.1.4",
"@tanstack/react-query": "^5.24.6",
"@types/jest": "^29.5.12",
"@types/react-beautiful-dnd": "^13.1.8",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
Expand Down Expand Up @@ -50,19 +48,13 @@
},
"devDependencies": {
"@stylexjs/babel-plugin": "^0.5.1",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@vanilla-extract/next-plugin": "^2.3.6",
"eslint": "^8",
"eslint-config-next": "14.1.1",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"ts-node": "^10.9.2",
"typescript": "^5"
}
}
Loading

0 comments on commit 7bda6c1

Please sign in to comment.