-
-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Labels
p3-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
typecheck settings is not respected
in the gif you can see:
- running
npx vitestcorrectly check typing. - running the test from the IDE extension does not catch type error, even though this file only checks for typing only
- this extension should respect filed
*.test-d.tsfor type tests only tests.
Reproduction
first of all, awesome extension!
to reproduce:
git clone https://github.com/Eliav2/express-typed
// or, checkout exact commit (in case the repo would be changed)
git clone --bare https://github.com/Eliav2/express-typed.git
cd express-typed.git
git checkout 6aec67bfe1c849edfac0a85d41a1df0faa60cb0d
now run npx vitest at root directory, or run tests from the IDE.
OR small example
from vitest docs - Play Online
This extension would not correctly catch type.test-d.ts type errors.
Output
.Version
v0.8.6
Validations
- Check that you are using the latest version of the extension
- 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
p3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)
