Skip to content

Commit

Permalink
Adapt tests to new deduplicated SVGs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnovak committed Sep 16, 2024
1 parent 4fff458 commit dce9598
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/end-to-end.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down Expand Up @@ -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);
});
});

Expand Down

0 comments on commit dce9598

Please sign in to comment.