vite-jest
vite-jest copied to clipboard
First-class Vite integration for Jest
Now that v28 alpha.4 has supported async resolver: https://github.com/facebook/jest/releases/tag/v28.0.0-alpha.4
I am running a very basic test copied from the React + Typescript example. ``` import React from "react"; import { render, screen } from "@testing-library/react"; import App from "../../App";...
I can only press `a` once to re-run the tests, then after second run I get ``` ● Test suite failed to run Server is not running. ``` and can't...
Is there any solution to use vite-jest for an application which using Vite + Vue2 + Composition API?
If Vite + Vue2 is not vite-jest support target, I'll close this issue. I got this error when I run vite-jest ``` $ ./node_modules/.bin/vite-jest (node:16061) ExperimentalWarning: VM Modules is an...
I ran into multiple issues while trying to add (vite-)jest to a vite: vanilla-ts project. As far as I can tell, these issues are actually caused upstream and therefore not...
When trying to run this in my project I get this error for all my 144 test suites: ``` ● Test suite failed to run Module "stream" has been externalized...
If I turn `collectCoverage` on in my `jest.config.js`, the generated coverage report adds fingerprints into the names of the files (e.g. `Button.tsx?1643925799148`). This not only breaks the HTML report (as...
Hi! In my current setup I'm using the following versions ```json "scripts": { "test": "vite-jest", }, "devDependencies": { "jest": "^27.4.3", "jest-environment-jsdom": "^27.4.3", "vite": "^2.7.1", "vite-jest": "^0.1.4" } ``` My test...
Hi there, I'm trying to test in `jest-environment-node` and getting some errors. In your `examples/vue-app-ts`, I did * `yarn add jest-environment-node -D` * put `jest-environment-node` as `testEnvironment` in `jest.config.js` *...
When I try to run `vite-jest` I'm getting this error: ``` Validation Error: Module /path-to-my-repo/node_modules/vite-jest/index.js in the transform option was not found. is: path-to-my-repo Configuration Documentation: https://jestjs.io/docs/configuration path-to-my-repo\node_modules\execa\lib\error.js:60 error =...