Skip to content

Commit

Permalink
FIX: Use getQuick for the regexp test otherwise it could timeout erro…
Browse files Browse the repository at this point in the history
…neously

FIX: Use getQuick for the regexp test otherwise it could timeout erroneously
  • Loading branch information
matttdawson authored May 22, 2024
1 parent e5a1e5e commit e28bcb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/testUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const findCellContains = async (
return await waitFor(
async () => {
const row = await findRow(rowId, within);
return await findQuick({ tagName: `[col-id='${colId}']`, text }, row);
return getQuick({ tagName: `[col-id='${colId}']`, text }, row);
},
{ timeout: 10000 },
);
Expand Down

0 comments on commit e28bcb8

Please sign in to comment.