Skip to content

Commit

Permalink
chore(tests): Trying to kill enzyme, part 2 (more RTL!) (apache#32226)
Browse files Browse the repository at this point in the history
Co-authored-by: JUST.in DO IT <[email protected]>
  • Loading branch information
rusackas and justinpark authored Feb 19, 2025
1 parent e061116 commit de2bce6
Show file tree
Hide file tree
Showing 5 changed files with 363 additions and 192 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ describe('SuperChart', () => {
});
});

// Update the props tests to use className instead of data-testid
// Helper function to find elements by class name
const findByClassName = (container: HTMLElement, className: string) =>
container.querySelector(`.${className}`);
Expand Down
Loading

0 comments on commit de2bce6

Please sign in to comment.