Skip to content

Commit 7bda6c1

Browse files
authored
Merge pull request #163 from Team-INSERT/revert-162-test/hooks
Revert "test : custom hooks test"
2 parents a60df8c + 56192c0 commit 7bda6c1

File tree

8 files changed

+29
-2421
lines changed

8 files changed

+29
-2421
lines changed

Diff for: components/FrameEditor/index.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -297,15 +297,13 @@ const FrameEditor = ({
297297
</td>
298298
))}
299299
<td
300-
// eslint-disable-next-line
301300
onClick={() => addTd(rowIndex)}
302301
className={styles.SetRow}
303302
aria-label="add button"
304303
>
305304
+
306305
</td>
307306
<td
308-
// eslint-disable-next-line
309307
onClick={() => removeLastTd(rowIndex)}
310308
className={styles.SetRow}
311309
aria-label="remove button"

Diff for: hooks/useDate.spec.ts

-74
This file was deleted.

Diff for: hooks/useModal.spec.tsx

-40
This file was deleted.

Diff for: hooks/useUser.spec.tsx

-42
This file was deleted.

Diff for: jest.config.ts

-12
This file was deleted.

Diff for: jest.setup.ts

-1
This file was deleted.

Diff for: package.json

+1-9
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@
88
"start": "next start",
99
"postinstall": "husky install",
1010
"format": "prettier --cache --write .",
11-
"lint": "eslint --cache .",
12-
"test": "jest"
11+
"lint": "eslint --cache ."
1312
},
1413
"dependencies": {
1514
"@next/third-parties": "^14.1.4",
1615
"@tanstack/react-query": "^5.24.6",
17-
"@types/jest": "^29.5.12",
1816
"@types/react-beautiful-dnd": "^13.1.8",
1917
"@typescript-eslint/eslint-plugin": "^7.1.0",
2018
"@typescript-eslint/parser": "^7.1.0",
@@ -50,19 +48,13 @@
5048
},
5149
"devDependencies": {
5250
"@stylexjs/babel-plugin": "^0.5.1",
53-
"@testing-library/dom": "^10.4.0",
54-
"@testing-library/jest-dom": "^6.4.8",
55-
"@testing-library/react": "^16.0.0",
5651
"@types/node": "^20",
5752
"@types/react": "^18",
5853
"@types/react-dom": "^18",
5954
"@vanilla-extract/next-plugin": "^2.3.6",
6055
"eslint": "^8",
6156
"eslint-config-next": "14.1.1",
6257
"husky": "^9.0.11",
63-
"jest": "^29.7.0",
64-
"jest-environment-jsdom": "^29.7.0",
65-
"ts-node": "^10.9.2",
6658
"typescript": "^5"
6759
}
6860
}

0 commit comments

Comments
 (0)