We welcome contributions from everyone!
Make sure you have Node.js and Yarn installed.
- Fork this repository and clone your fork
- Install dependencies:
yarn install
- Install browsers for E2E test:
yarn setup
Run the build with the following command:
yarn build
Testing is a crucial part of any software project. For all but the most trivial changes (typos, etc) test cases are expected.
This project uses Vitest for the unit test.
Run the test with the following command:
- Run all test suites but watch for changes and rerun tests when they change:
yarn test:unit
- Perform a single run without watch mode:
yarn test:unit run
This project uses Playwright for the end-to-end test.
- In all available and supported browsers:
yarn test:e2e
- In a specific browser:
yarn test:e2e --project=chromium
,yarn test:e2e --project=firefox
, etc.
You can use yarn test:e2e:skipbuild
to skip the build if you are sure it has already been built.