You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have fixed the TypeScript errors in the test files. The main issue was that the error objects in catch blocks were not properly typed, causing TypeScript to complain when accessing the message property.
Changes made:
Added proper type annotations (error: unknown) for error objects in catch blocks
Used type guards to safely access the message property
Fixed the error handling in tests/api/root.test.ts, tests/e2e/admin.test.ts, and tests/e2e/docs.test.ts
All TypeScript errors are now resolved and the tests pass successfully.
There are multiple typescript errors in the various files in the tests folder that need to be resolved
The text was updated successfully, but these errors were encountered: