diff --git a/src/index.test.ts b/src/index.test.ts index d5010a8..b281e17 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -235,5 +235,22 @@ describe("apca-check", () => { await expect(apcaViolations[0].nodes.length).to.equal(3); }); + + it("should handle both valid code and violations", async () => { + const el: HTMLElement = await fixture( + html`
Some copy
+Some copy
+