Skip to content

Commit

Permalink
chore: add unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
LeifXu committed May 14, 2024
1 parent db59679 commit 4ac9f93
Show file tree
Hide file tree
Showing 6 changed files with 274 additions and 63 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/prettier.yml

This file was deleted.

3 changes: 2 additions & 1 deletion cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
".next/**",
"public/**",
"src/assets/**",
"src/locales/**"
"src/locales/**",
"tests/**"
],
"overrides": []
}
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@
"private": true,
"version": "0.0.0",
"type": "module",
"packageManager": "[email protected]",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"lingui:compile": "lingui compile",
"lingui:extract": "NODE_ENV=development lingui extract --clean",
"lingui": "pnpm run lingui:extract && pnpm run lingui:compile"
"lingui": "pnpm run lingui:extract && pnpm run lingui:compile",
"test": "vitest"
},
"dependencies": {
"@chakra-ui/react": "^2.8.2",
Expand Down Expand Up @@ -51,6 +53,7 @@
"eslint-plugin-react-refresh": "^0.4.6",
"prettier": "^3.2.5",
"typescript": "^5.2.2",
"vite": "^5.2.0"
"vite": "^5.2.0",
"vitest": "^1.6.0"
}
}
Loading

0 comments on commit 4ac9f93

Please sign in to comment.