Skip to content

Commit

Permalink
Update tests/unit/ReportUtilsTest.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Vit Horacek <[email protected]>
  • Loading branch information
mkzie2 and mountiny authored Dec 23, 2024
1 parent b3302fc commit ad960d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/ReportUtilsTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ describe('ReportUtils', () => {
const reportActionCollectionDataSet = toCollectionDataSet(
ONYXKEYS.COLLECTION.REPORT_ACTIONS,
reportActions.map((reportAction) => ({[reportAction.reportActionID]: reportAction})),
(actions) => Object.values(actions).at(0)?.reportActionID ?? `${CONST.DEFAULT_NUMBER_ID}`,
(actions) => Object.values(actions).at(0)?.reportActionID,
);
Onyx.multiSet({
...reportCollectionDataSet,
Expand Down

0 comments on commit ad960d3

Please sign in to comment.