Tom Mrazauskas
Tom Mrazauskas
@CharlesStover It could be that in your case `ts-jest` is the issue. Here is what I get: - using `jest` 27 and `babel` - using `jest` 27 and `ts-jest` 27
> What configuration did you use for Babel to get those results? Here is the whole `babel.config.json`: ```json { "presets": [ ["@babel/preset-env", { "targets": { "node": "current" } }], ["@babel/preset-react",...
@CharlesStover Found it. Including `"sourceMap": true` in `tsconfig.json` makes the `jest` v27 and `ts-jest` v27 duo work just like you would expect. Seems like `ts-jest` changed its defaults: https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md#breaking-changes
First of all, thank you for this library. After trying it out, I though it would work brilliantly as Jest environment. Happy to find this discussion. ## Working Prototype To...
Thanks for quick reply. I was not sure what should be the next step, but now everything got clear. I will work on the real implementation and will send a...
Sure. That’s exactly what I was thinking. Also I see how few small optimisations could be made in the core. Will send these in while working on the environment.
@ricardogobbosouza thanks for mentioning me. Indeed I was experimenting with Jest environment for some time. Did not send a PR, because the solution did not proof to be useful. On...
@alibombaye I could try to help you. Could you tell more what are you trying to test? How does your test look like? It seems like your `jest.config.js` is mixing...
@GMartigny Seems like the issue is related with Nuxt’s `loadNuxtConfig` helper which is used by the `test-utils`. Possible workaround: - import your Nuxt config to a test file, - pass...
@GMartigny Are you planning to test your web app in a browser using Playwright? In this case it is better idea to use Playwright Test Runner instead of Jest (with...