Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 678 Bytes

File metadata and controls

23 lines (16 loc) · 678 Bytes

misc_react-quiz

This repository holds my version of Web Dev Cody's live coding example of a quiz-app. It was built with Vite and is written in Typescript.

Setup

Running the quiz on your localhost:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

To continue

Testing one or more functions of the quiz either using vitest or jest (to be determined)

I have been able to run tests on a function of my code using jest. The setup for the environment seemed to be quite delicate however (probably because I am testing Typescript code?) and I wonder if I can get vitest to run the same tests. tbd.