From fa2c82b00ba08e81ca8d9d9a692fb1e323ac605b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Wed, 30 Sep 2026 11:31:07 +0200 Subject: [PATCH] Document the testing strategy and e2e conventions An ADR records how we decide what to test and where, and a checklist lets people and agents check a change against it. --- .gitignore | 2 + CLAUDE.md | 36 +++++++++++++++++- docs/adr/0001-testing-strategy.md | 63 +++++++++++++++++++++++++++++++ docs/testing-checklist.md | 49 ++++++++++++++++++++++++ 4 files changed, 148 insertions(+), 2 deletions(-) create mode 100644 docs/adr/0001-testing-strategy.md create mode 100644 docs/testing-checklist.md diff --git a/.gitignore b/.gitignore index c3377178e..482eaa03b 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,5 @@ tests/artifacts/**/* # direnv cache /.direnv/ + +.claude diff --git a/CLAUDE.md b/CLAUDE.md index 9843091be..5ca418174 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -44,6 +44,11 @@ npm run format # auto-fix prettier issues npm run test:unit ``` +DOMPurify does not sanitize under happy-dom (the unit-test environment): +`