Closed Theiaz closed 2 years ago
@Theiaz
In vue3-jest, getTypeScriptConfig
calls every times whether project uses TypeScript or not.
I'll make a PR to fix it.
https://github.com/vuejs/vue-jest/blob/6d1eec51c40d4c221a6a2b16c8bf7e5798b2a403/packages/vue3-jest/lib/process.js#L121
@nogic1008 Thanks!
Using vue-jest within a project which is not using typescript /
tsconfig.json
leads to randomly appearing warning inside my #log:I'm not able to reproduce it. However, I observed that this is appearing if running my testsuite for the first time. Running it again does not show this warning.
First run:
Second run:
The following line is causing the problem which has been introduced with https://github.com/vuejs/vue-jest/pull/471 https://github.com/vuejs/vue-jest/blob/6d1eec51c40d4c221a6a2b16c8bf7e5798b2a403/packages/vue3-jest/lib/utils.js#L79
Is this a problem with my config or should the warning not be displayed?