Skip to content

Commit 6ae2770

Browse files
committed
fix spec
1 parent 546f027 commit 6ae2770

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app/core/SDKConnectV2/services/connection-registry.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,9 @@ describe('ConnectionRegistry', () => {
497497

498498
// Sanity: the rest of the happy path still ran.
499499
expect(mockStore.save).toHaveBeenCalledTimes(1);
500-
expect(mockHostApp.syncConnectionList).toHaveBeenCalledTimes(1);
500+
expect(mockHostApp.syncConnectionList).toHaveBeenCalledWith([
501+
mockConnection,
502+
]);
501503
});
502504

503505
it('does NOT dismiss the loading toast for QR flows even when connect() fails', async () => {

0 commit comments

Comments
 (0)