---
paths:
  - "**/*.ts"
  - "**/*.tsx"
  - "**/*.js"
  - "**/*.jsx"
---
# TypeScript/JavaScript Testing

> This file extends `common/testing.md` with TypeScript/JavaScript-specific content.

## E2E Testing

Use the E2E framework already configured by the repository. When establishing a new browser E2E harness and no project constraint dictates otherwise, prefer Playwright for critical user flows.

Do not add an E2E dependency for a change that cannot benefit from browser-level verification.

## Optional Test Support

If the current Pi session exposes an E2E skill or browser-testing tool, load or use it when applicable. Otherwise run the repository's E2E commands directly; do not assume a named runner tool is installed.
