From dce95982896c0c083253b0461e88b3498d9442b1 Mon Sep 17 00:00:00 2001 From: Adam Novak Date: Mon, 16 Sep 2024 11:17:54 -0400 Subject: [PATCH] Adapt tests to new deduplicated SVGs --- src/end-to-end.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/end-to-end.test.js b/src/end-to-end.test.js index 2ac04be6..ce6b55ea 100644 --- a/src/end-to-end.test.js +++ b/src/end-to-end.test.js @@ -294,7 +294,7 @@ describe("When we wait for it to load", () => { // See if correct svg rendered let svg = document.getElementById("svg"); expect(svg).toBeTruthy(); - expect(svg.getElementsByTagName("title").length).toEqual(65); + expect(svg.getElementsByTagName("title").length).toEqual(50); }); it("draws the right SVG for cactus multiple reads", async () => { @@ -332,7 +332,7 @@ describe("When we wait for it to load", () => { // See if correct svg rendered let svg = document.getElementById("svg"); expect(svg).toBeTruthy(); - expect(svg.getElementsByTagName("title").length).toEqual(23); + expect(svg.getElementsByTagName("title").length).toEqual(22); }); });