yarn install— install dependencies (also runsyarn buildviaprepare)yarn build— compile TypeScriptyarn lint— ESLintyarn test— unit + local integration tests; no API credentials or Docker daemon neededyarn test:unit/yarn test:integration— run either local test groupyarn test:e2e— live API tests; requiresHYPERBROWSER_API_KEYyarn format— Prettier
yarn installtriggers thepreparescript which runsyarn build. If the build fails on install, check for TypeScript errors insrc/.vitest.config.tsdefines unit, integration, and e2e projects. The default selection (including watch mode) runs only unit and integration tests.- Only live tests in
tests/e2e/load env files and require a running Hyperbrowser API and a validHYPERBROWSER_API_KEY.