Welcome to the Sun Clock! This web application visualizes the proportion of daytime to nighttime at the web user's current location, on the current day of the year.
git clone
the repositorynpm install
npm run dev
This repository has a jest suite for unit tests and a cypress suite for end to end testing.
npm t
- run both jest and cypress testsnpm run jest
- run jestnpm run jest-watch
- run jest in watch modenpm run cypress:open
- run cypress tests in browsernpm run cypress:run
- run cypress tests at command line