alexjoverm / alexjoverm/typescript-library-starter
ES6 imports
- Linguagem predominante
- TypeScript
- Estrelas
- 4.4k
- Forks
- 476
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
My tests don't run if I have ES6 imports.
I've looked around and apparently we can now use one of the provided presets directly:
https://kulshekhar.github.io/ts-jest/user/config/#the-3-presets
I'm surprised it hasn't been mentioned yet :thinking: Or maybe it's just me... :sweat_smile:
The issue? When I try to load the preset, it doesn't work and I get:
`Module node_modules/ts-jest/presets/js-with-babel/jest-preset in the transform option was not found.`
I've upgraded everything related to Jest and I can see the following in my node_modules:

So I guess that the version I've got should at least allow the preset to be found.
Any help would be really appreciated! :smile:
Thanks
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.