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
In Vitest version 1.x, running the following command for typecheck tests causes the process to hang, preventing the tests from completing successfully:
vitest --typecheck
As a result, typecheck tests are currently skipped in the CI environment.
Local Confirmation
Testing with Vitest version 2.x and above locally confirms that the typecheck tests run successfully without hanging.
Proposed Solution
I propose adding a test:type job to the scripts section of the package.json, which will run typecheck tests using Vitest 2.x and above in the CI environment.
Problem Details
In Vitest version 1.x, running the following command for typecheck tests causes the process to hang, preventing the tests from completing successfully:
As a result, typecheck tests are currently skipped in the CI environment.
Local Confirmation
Testing with Vitest version 2.x and above locally confirms that the typecheck tests run successfully without hanging.
Proposed Solution
I propose adding a test:type job to the scripts section of the package.json, which will run typecheck tests using Vitest 2.x and above in the CI environment.
This will ensure that typecheck tests are automatically run in the CI environment, helping to maintain type safety.
The text was updated successfully, but these errors were encountered: