Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 504 Bytes

File metadata and controls

17 lines (10 loc) · 504 Bytes

React + Vite

Basic React boilerplate using Vite.

Starts off from the React Javascript Vite template (@vitejs/plugin-react uses Babel for Fast Refresh)

Adds on top:

  • support for testing React components with vitest and React Testing Library
  • support for mocking HTTP requests in tests using msw

Getting started:

  • npm install
  • npm run dev

To run the tests: npm run test.