Clean up abandoned matches and fix analytics validation

This commit is contained in:
2026-10-19 15:23:16 +09:00
parent 65c3941e29
commit 6f44ec0d15
14 changed files with 232 additions and 10 deletions
+1 -1
View File
@@ -252,7 +252,7 @@ function domHarness(t: import('node:test').TestContext, reducedMotion = true) {
}
const actors = [new Element(), new Element()], appended: Element[] = [];
const container = new Element();
const doc = { body: new Element(), activeElement: new Element(), createElement: () => new Element() };
const doc = { body: new Element(), activeElement: new Element(), createElement: () => new Element(), addEventListener() {}, removeEventListener() {} };
const globals = { document: doc, HTMLElement: Element, window: {
matchMedia: () => ({ matches: reducedMotion, addEventListener() {}, removeEventListener() {} }),
} };