fix(web): resolve 7 TypeScript errors and 2 failing test files

Add vitest/globals types to web tsconfig to fix TS2593 errors in 7 test
files. Fix pricing and subscription test mocks to include all required
lucide-react icons and module dependencies (payment-api, auth-store,
next-intl, i18n/navigation).

All 66 test files now pass (593 tests), typecheck clean, lint clean.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Ho Ngoc Hai
2026-04-12 20:15:33 +07:00
parent 505455b6f8
commit 51c4ecbf4e
3 changed files with 53 additions and 1 deletions

View File

@@ -12,6 +12,7 @@
"name": "next"
}
],
"types": ["vitest/globals"],
"paths": {
"@/*": ["./*"]
},