Skip to content

Commit

Permalink
add unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Feb 28, 2024
1 parent e571da3 commit e44fd24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/unit/withOnyxTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,10 @@ describe('withOnyxTest', () => {
key: ONYX_KEYS.SIMPLE_KEY,
initialValue: 'initialValue',
},
simple2: {
key: ONYX_KEYS.SIMPLE_KEY_2,
initialValue: false,
},
})(ViewWithCollections);
render(
<TestComponentWithOnyx
Expand All @@ -578,6 +582,7 @@ describe('withOnyxTest', () => {
onRender,
testObject: {isDefaultProp: true},
simple: 'initialValue',
simple2: false,
});
});
});
Expand Down

0 comments on commit e44fd24

Please sign in to comment.