Skip to content

Commit

Permalink
Fix for Eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
jagabomb committed Sep 6, 2024
1 parent a005915 commit 0595675
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/js/common/Table/Table.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ describe('Table component', () => {
screen
.getByRole('table')
.querySelector('th')
.classList.forEach((className) =>
className.match('px-') ? (pxClass = className) : ''
);
.classList.forEach((className) => {
className.match('px-') && (pxClass = className);
});

screen
.getByRole('table')
Expand Down

0 comments on commit 0595675

Please sign in to comment.