Skip to content

Commit 4ad9286

Browse files
committed
test: tighten zca client assertion
1 parent 449eb09 commit 4ad9286

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

extensions/zalouser/src/zca-client.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ describe("zca-client runtime loading", () => {
1717
const client = await zcaClient.createZalo({ logging: false, selfListen: true });
1818

1919
expect(runtimeFactory).toHaveBeenCalledTimes(1);
20-
expect(client).toMatchObject({
21-
options: { logging: false, selfListen: true },
22-
});
20+
expect(client.options).toEqual({ logging: false, selfListen: true });
2321
});
2422
});

0 commit comments

Comments
 (0)