vite-jest
vite-jest copied to clipboard
First-class Vite integration for Jest
App.tsx ``` import React, { useState } from 'react' import logo from './logo.svg' import './App.css' function App() { const [count, setCount] = useState(0) return ( Hello Vite + React! setCount((count)...
We are using the new jsx runtime using [vite-react-jsx](https://www.npmjs.com/package/vite-react-jsx), but this causes an error when we run tests. I have reproduced it here: https://github.com/jonrimmer/vite-jest/tree/problem-jsx The app runs fine when I...
I wanted to use vite-jest as my test running with [@testing-library/user-event](https://github.com/testing-library/user-event) and the test runner run into an error, sometimes, on certain mode. A little background, my setup is running...
Hi is this repo still maintained? I can't get vite-jest to install with vite >=4 I have recently migrated quite a large vue2 project to vue3 and vite but now...
the latest Jest version is 29 but vite-jest has a peer dependency on jest 27 does it work with latest jest?