feat(tests): add basic arithmetic functions and corresponding tests

- Implemented `add` and `subtract` functions in multiple packages (web, ui, utils).
- Created unit tests for these functions using Vitest in respective test files.
- Updated turbo.json to include a new test pipeline for coverage and watch mode.
This commit is contained in:
Firman Ramdhani
2026-01-14 18:35:20 +07:00
parent a994be1cd2
commit 914c267e66
18 changed files with 862 additions and 21 deletions
+2 -2
View File
@@ -8,10 +8,10 @@
"dev:web": "turbo run dev --filter=web",
"dev:docs-dev": "turbo run dev --filter=docs-dev",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\""
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"test": "turbo run test"
},
"devDependencies": {
"eslint": "^8.57.0",
"prettier": "^3.2.5",
"turbo": "^2.7.2"
},