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
One caveat to the default TypeScript support, similar to Flow, is that Babel will only strip out the type annotations to make your code valid JavaScript. It will not typecheck your code.
If you want to run typechecks while you test, you should use ts-jest
The native support for TypeScript in Jest 24+ won't typecheck the code.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
Is your feature request related to a problem? Please describe.
The test files
*.spec.ts
are currently transpiled to JavaScript before being runDescribe the solution you'd like
Use ts-jest so that
*.spec.ts
files can be run without transpilingDescribe alternatives you've considered
Continue transpiling files before running tests
The text was updated successfully, but these errors were encountered: