diff --git a/packages/core/src/compiler/timingCompiler.test.ts b/packages/core/src/compiler/timingCompiler.test.ts index c8165578d6..c38c09bb61 100644 --- a/packages/core/src/compiler/timingCompiler.test.ts +++ b/packages/core/src/compiler/timingCompiler.test.ts @@ -1,5 +1,6 @@ import { readFileSync } from "node:fs"; import { dirname, join } from "node:path"; +import { JSDOM } from "jsdom"; import { describe, it, expect } from "vitest"; import { compileTimingAttrs, @@ -18,6 +19,82 @@ it("source contains no raw NUL bytes", () => { expect(src.includes("\x00")).toBe(false); }); +describe("inert region scanning", () => { + const media = '