This repository contains code for the Terem front end application test.
The application was developed using the vite@latest
template on macOS Sonoma, with Node v21.4.0.
- Clone the repository, then switch to the checkout directory
- Run
pnpm i
to install dependencies - Run
pnpm dev
to start the development server and browse the application
Unit and End-to-End (e2e) tests are provided, using vitest
and playwright
respectively. Please note the test snapshots were produced in a macOS environment: in the real world, this build process would probably be a Linux-based container for reproducibility across environments.
- Run the unit tests via
pnpm test
- Run the e2e tests via starting
pnpm dev
then starting eitherpnpm test:e2e
orpnpm test:e2e:ui
(if you wish to see the Playwright GUI)