Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: clean up type test setup #1511

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mrazauskas
Copy link

@mrazauskas mrazauskas commented Apr 19, 2024

Following up #1510

This PR:

  • removed unnecessary tsd key from package.json;
  • changes suffix of all type test files to .tst.ts to match the default testFileMatch pattern of TSTyche (this means that tstyche.config.json is no longer needed).

Comment on lines -184 to -192
"name": "Debug TSD",
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
"args": [
"--runInBand",
"--no-cache",
"--collectCoverage=false",
"--config=jest.tsd.js",
"--testTimeout=120000"
],
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This config does nothing anymore. It can be removed as well.

Is it worth to have launch configuration for type tests? I mean, in this case there is no run time. Type testing only performs static analysis (similar to tsc or eslint), so there no way to have breakpoints or to do any data inspection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant