Tests
For unit tests and coverage, please refer to https://coverage.sortao.com/
Run unit tests
Section titled “Run unit tests”After cloning the repository, you can use the following commands:
- Testing with hot reloading
pnpm test- Single test
pnpm test run- Single test, and generate a coverage report.
pnpm coverage
# View Reportcd ./coveragepnpm viteRun Benchmark Tests
Section titled “Run Benchmark Tests”- Run the benchmark
pnpm benchSince running the full set of tests can be time-consuming, you can also add a path at the end to execute specific test or benchmark test files.