-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
feat: typecheckIssues and PRs related to typechecking featureIssues and PRs related to typechecking featurep3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)
Description
Describe the bug
When running vitest run with typecheck, the cursor is not correctly restored.
Reproduction
Running npm run test:run will keep the cursor hidden after finishing running the test. Not using --typecheck, not having .test-d.ts files, or running in dev mode does not show this problem.
- https://stackblitz.com/edit/vitest-dev-vitest-zlari2 (Must be ran on a real machine)
The cursor can be forced restored by the user with tput cnorm or reset commands.
System Info
System:
OS: macOS 14.3.1
CPU: (10) arm64 Apple M1 Max
Memory: 55.56 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.9.0 - ~/.volta/tools/image/node/20.9.0/bin/node
npm: 10.1.0 - ~/.volta/tools/image/node/20.9.0/bin/npm
pnpm: 8.15.1 - ~/.volta/bin/pnpm
npmPackages:
@vitest/ui: latest => 1.3.0
vite: latest => 5.1.3
vitest: latest => 1.3.0Used Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feat: typecheckIssues and PRs related to typechecking featureIssues and PRs related to typechecking featurep3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)