diff --git a/packages/lint/src/rules/media.test.ts b/packages/lint/src/rules/media.test.ts index f36516a18d..039e43085d 100644 --- a/packages/lint/src/rules/media.test.ts +++ b/packages/lint/src/rules/media.test.ts @@ -496,6 +496,20 @@ describe("media rules", () => { ); }); + it("video_audio_double_source still fires when the video starts negative", async () => { + const html = ` + +
+ + +
+ +`; + const result = await lintHyperframeHtml(html); + const codes = result.findings.map((f) => f.code); + expect(codes).toContain("video_audio_double_source"); + }); + it("video_audio_double_source suggests removing the