Skip to content

Testing & Quality

Testing:

  • Vitest for unit/integration: vitest, config vitest.config.js, setup vitest.setup.js
  • Jest-style Testing Library for React components
  • Cypress E2E under automation/cypress/*
  • API tests in _tests_/api/*, resolver tests in _tests_/*

Linting & formatting:

  • ESLint configured; run yarn lint
  • Flow type checking in legacy areas: yarn flow:check
  • TypeScript yarn typecheck

Codegen:

  • Relay: yarn relay (+ watch)
  • GraphQL codegen: yarn codegen
  • Prisma: yarn prisma:generate