Skip to content

Testing

Rhyolite uses modern testing tools to ensure code quality and reliability across all packages.

Run all tests in the monorepo:

Terminal window
pnpm test

Run tests for a specific package:

Terminal window
pnpm --filter <package> test
  • Use your preferred test framework (e.g., Vitest, Jest)
  • Place tests in a __tests__ or tests/ directory
  • Write clear, focused test cases
  • Keep tests fast and isolated
  • Use CI to run tests on every PR