π Testing
One-time testing
Unit test
npm test
End-to-end test
Install the test suite
npm i -g cypress
Run the tests
npm run test:e2e
Development testing
Unit test
npm test:watch
End-to-end test
You can run all at once
npm run cy:dev
or run server and tests separately
npm run dev
npm run cy:open
Documents refer to: https://www.cypress.io/
β π¦ Production Build π Guideline β