Skip to content

Commit

Permalink
Fix focus styles test
Browse files Browse the repository at this point in the history
  • Loading branch information
Iuliia Kulagina committed Sep 13, 2023
1 parent 2b04999 commit bcc1aab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/visualTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,7 @@ describe("SankeyDiagram", () => {
expect(linkStrokeWidth).toBe(strokeWidth);
expect(linkStrokeOpacity).toBe(strokeOpacity);
expect(linkOutline).toBe(outline);
expect(linkStrokeWidth < focusedStrokeWidth).toBeTrue();
});
done();
});
Expand Down Expand Up @@ -1010,6 +1011,7 @@ describe("SankeyDiagram", () => {
nodeOutline = nodeComputedStyle.getPropertyValue("outline");
expect(nodeStrokeWidth).toBe(strokeWidth);
expect(nodeOutline).toBe(outline);
expect(nodeStrokeWidth < focusedStrokeWidth).toBeTrue();
});
done();
});
Expand Down

0 comments on commit bcc1aab

Please sign in to comment.