-
Notifications
You must be signed in to change notification settings - Fork 128
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
Rewire doesn't work with typescript #185
Comments
as a workaround, you might be able to try compiling your ts to js in the interim @KaboomFox |
@KaboomFox I had this problem a few weeks ago. I recommend taking a look at kulshekhar/ts-jest#1029. Using I ultimately decided not to use |
I have tried this module with success in my Typescript project. In fact, types even exist for this https://www.npmjs.com/package/@types/rewire. There wasn't any special configuration required. I'm using mocha and my config is:
|
TS support added here: #204, released in v7 |
[Feature request] Support Tyescript.
Rewire cannot find files that have extension .ts or .tsx
The text was updated successfully, but these errors were encountered: