alexjoverm / alexjoverm/typescript-library-starter
ES6 imports
- Lingua principale
- TypeScript
- Stelle
- 4.4k
- Fork
- 476
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.