This is an app that calculates the Modulo Three using finite state machine. problem.pdf
To get started, make sure you are on the latest version of pnpm (e.g. 8.5.1) or your favorite package manager.
pnpm install
pnpm run dev
Open http://localhost:3000 with your browser to see the result.
This project is bootstrapped with Nextjs 13, styled with Tailwind.
https://github.com/wongleo7/pr-take-home-test
App is automatically deployed to vercel at: https://pr-take-home-test.vercel.app/
Unit tests and E2E testing is powered by Cypress: https://cloud.cypress.io/projects/6bh7vx/
To run tests, make sure you have all dependencies set up for cypress: https://docs.cypress.io/guides/continuous-integration/introduction#Dependencies
Then run:
pnpm run test
Or to run the component tests:
pnpm run test --component
note: on windows WSL, there is a problem with cypress running gpu acceleration: cypress-io/cypress#25357