From 99194d659db70dbe5a564027941f1c087f61bff9 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Fri, 1 Nov 2024 14:41:55 -0700 Subject: [PATCH] fix up the android test --- example/src/tests/groupTests.ts | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/example/src/tests/groupTests.ts b/example/src/tests/groupTests.ts index 6f2881185..579ecd875 100644 --- a/example/src/tests/groupTests.ts +++ b/example/src/tests/groupTests.ts @@ -2339,19 +2339,11 @@ test('can sync all groups', async () => { } // First syncAllGroups after removal will still sync each group to set group inactive - // For some reason on Android (RN only), first syncAllGroups already returns 0 const numGroupsSynced2 = await bo.conversations.syncAllGroups() - if (Platform.OS === 'ios') { - assert( - numGroupsSynced2 === 50, - `should have synced 50 groups but synced ${numGroupsSynced2}` - ) - } else { - assert( - numGroupsSynced2 === 0, - `should have synced 0 groups but synced ${numGroupsSynced2}` - ) - } + assert( + numGroupsSynced2 === 50, + `should have synced 50 groups but synced ${numGroupsSynced2}` + ) // Next syncAllGroups will not sync inactive groups const numGroupsSynced3 = await bo.conversations.syncAllGroups()