完善测试框架;新增部分测试文件

This commit is contained in:
JIANG
2026-01-30 18:27:09 +08:00
parent 799eab03d0
commit a3f4b477bc
4 changed files with 221 additions and 0 deletions

View File

@@ -12,6 +12,7 @@
"lint": "next lint",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"refine": "refine"
},
"dependencies": {
@@ -52,6 +53,7 @@
},
"devDependencies": {
"@svgr/webpack": "^8.1.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/jest": "^30.0.0",