From 19e57d8b2068d7916e99fa7b16674d2e9f801720 Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Wed, 14 Feb 2024 22:42:16 +0800 Subject: [PATCH] add unit test --- tests/unit/withOnyxTest.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/unit/withOnyxTest.js b/tests/unit/withOnyxTest.js index 6f6eba377..bf8724f20 100644 --- a/tests/unit/withOnyxTest.js +++ b/tests/unit/withOnyxTest.js @@ -561,6 +561,10 @@ describe('withOnyxTest', () => { key: ONYX_KEYS.SIMPLE_KEY, initialValue: 'initialValue', }, + simple2: { + key: ONYX_KEYS.SIMPLE_KEY_2, + initialValue: false, + }, })(ViewWithCollections); render( { onRender, testObject: {isDefaultProp: true}, simple: 'initialValue', + simple2: false, }); }); });