My purpose in writing this meteorology project was to practice test writing
In this project, in addition to Cypress
, I also used Jest
The project consists of only two parts, a search bar part and an information part
Because Cypress still can't mock external modules
, I used Jest to test certain parts.
easily just search your town and wait to weather information show up for you. its 100% work , if api or your network ,work fine
npm run start
npm run test
npm run cypress:open
npm run cypress:run
npm run component:component