Skip to content

Commit

Permalink
Merge pull request #34596 from Expensify/revert-33554-@chrispader/ony…
Browse files Browse the repository at this point in the history
…x-replay-effect-fix

[CP Staging] Revert "Bump Onyx (Fix Replay effect)"

(cherry picked from commit 3e9d21c)
  • Loading branch information
AndrewGable authored and OSBotify committed Jan 16, 2024
1 parent 98a68d4 commit f5f579e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
"react-native-linear-gradient": "^2.8.1",
"react-native-localize": "^2.2.6",
"react-native-modal": "^13.0.0",
"react-native-onyx": "1.0.126",
"react-native-onyx": "1.0.118",
"react-native-pager-view": "6.2.2",
"react-native-pdf": "6.7.3",
"react-native-performance": "^5.1.0",
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/MigrationTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ describe('Migrations', () => {
it('Should remove any individual reportActions that have no data in Onyx', () =>
Onyx.multiSet({
[`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}1`]: {
1: {},
2: {},
1: null,
2: null,
},
})
.then(PersonalDetailsByAccountID)
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/ReportActionsUtilsTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ describe('ReportActionsUtils', () => {
callback: () => {
Onyx.disconnect(connectionID);
const res = ReportActionsUtils.getLastVisibleAction(report.reportID);
expect(res).toEqual(action2);
expect(res).toBe(action2);
resolve();
},
});
Expand Down

0 comments on commit f5f579e

Please sign in to comment.