Add support for specific tsconfig file path inside of vue-jest jest.config.js options
See original GitHub issueWe refactored vue-jest to have better tsconfig support by recursively walking up the directory structure, but sometimes users use sibling directories to store their build + config settings.
Can we specify a tsconfig path inside of jest.config.js? Perhaps relative to <rootDir>
?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Paths mapping | ts-jest - GitHub Pages
ts-jest provides a helper to transform the mapping from tsconfig to Jest config format, but it needs the .js version of the config...
Read more >How to use with Jest? · Issue #97 · dividab/tsconfig-paths
I'm trying to use your package with Jest to test React project but I can't get it to work, below is my Jest...
Read more >Configuring Jest
It is recommended to define the configuration in a dedicated JavaScript, TypeScript or JSON file. The file will be discovered automatically, ...
Read more >Jest: cannot find module required inside module to be tested ...
I had multiple libraries locally with tsconfig managing their paths and I guess jest or typescript wasn't mapping the module imports correctly ...
Read more >vue-jest - npm
If a string is provided, it will be an assumed path to a babel configuration file (e.g. .babelrc , .babelrc.js ). Config file...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks.
You are now added a collab. Feel free to make fixes/close issues if you want, let me know if you need any help with anything.
PR contains linguish error, so I fixed & merged. @lmiller1990 I’ll fix test-script issue on Windows soon.