Testing — Use the Repo's Own Runner Config
RULES.md
When running element tests locally, use the repo's own `web-test-runner.config.mjs` (e.g. `yarn test` from the element directory, or `--config=../../web-test-runner.config.mjs`), not a hand-written or stripped-down config. It supplies the `process` shim the test page needs and the raised per-test timeout; without them healthy suites fail with `process is not defined` or time out, which is easy to misread as an environment limit. If a custom config is unavoidable (for example to point at a different browser binary), spread the repo config and override only the launcher. In PRAW RULES.md (scope: webcomponents). Guidance by design: no check enforces this, and none is planned. Says which runner config to use when running tests locally.
Status: guidance
Connects to
- Build & Development Workflow includes this