Skip to content

Commit

Permalink
Make tests nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
nishasy committed Mar 13, 2024
1 parent 1455c8d commit 96ccaf1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ describe("locked layer", () => {
// eslint-disable-next-line testing-library/no-container, testing-library/no-node-access
const points = container.querySelectorAll(
// Filter out the interactive points' circles
"circle:not(.mafs-movable-point):not(.mafs-movable-point-hitbox):not(.mafs-movable-point-focus):not(.mafs-movable-point-ring):not(.mafs-movable-point-point)",
"circle:not([class*='mafs-movable-point'])",
);

// Act
Expand All @@ -212,7 +212,7 @@ describe("locked layer", () => {
// Act
// eslint-disable-next-line testing-library/no-container, testing-library/no-node-access
const points = container.querySelectorAll(
"circle:not(.mafs-movable-point):not(.mafs-movable-point-hitbox):not(.mafs-movable-point-focus):not(.mafs-movable-point-ring):not(.mafs-movable-point-point)",
"circle:not([class*='mafs-movable-point'])",
);

// Assert
Expand Down

0 comments on commit 96ccaf1

Please sign in to comment.