question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for specific tsconfig file path inside of vue-jest jest.config.js options

See original GitHub issue

We 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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
lmiller1990commented, Mar 30, 2021

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.

0reactions
nogic1008commented, Mar 29, 2021

PR contains linguish error, so I fixed & merged. @lmiller1990 I’ll fix test-script issue on Windows soon.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found