strothj / react-app-rewire-typescript-babel-preset

Add TypeScript support to Create React App using @babel/preset-typescript
https://react-app-rewire-typescript-babel-preset.netlify.com
MIT License
52 stars 6 forks source link

setupTests file isn't rewired to typescript #8

Closed barlock closed 6 years ago

barlock commented 6 years ago

If using a setupTests file for jest, the rewire doesn't update the jest config to point to a .ts extension.

strothj commented 6 years ago

Thanks for the report.

The earliest I’ll be able to look into this is Sunday. I would be willing to review a pull request if you want to put one together before then.

strothj commented 6 years ago

I think I have a working fix for this on the branch: feature/use-typescript-setup-tests-file

Will vet it more when I can.

barlock commented 6 years ago

Thanks!