jaredpalmer / tsdx

Zero-config CLI for TypeScript package development
https://tsdx.io
MIT License
11.24k stars 508 forks source link

Test command failures due to type-checking #937

Closed ImanMh closed 3 years ago

ImanMh commented 3 years ago

Current Behavior

A simple lint issue can stop npm run test. Do we really need to fix every single lint issue before running npm run test? Cause many times I want to try things out just to see if they work so I don't care about lint issues at that moment.

Screen Shot 2020-11-14 at 7 44 12 PM

Expected behavior

I'd rather see lint issues and then test results.

agilgur5 commented 3 years ago

Those aren't lint issues -- they are TS codes, i.e. they are type-checking errors.

This is a key feature of ts-jest, but yes, you can turn it off. Duplicate of #681