Skip to content

Commit 048a6eb

Browse files
committed
test(sms): align status snapshot expectation
1 parent be16369 commit 048a6eb

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

extensions/sms/src/channel.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,16 @@ describe("smsPlugin status", () => {
4949
},
5050
});
5151

52-
expect(snapshot).toEqual({
52+
expect(snapshot).toMatchObject({
5353
accountId: "support",
5454
name: "+15557654321",
5555
enabled: true,
5656
configured: true,
5757
statusState: "configured",
58+
running: false,
59+
webhookPath: "/webhooks/sms",
5860
});
61+
expect(snapshot).not.toHaveProperty("connected");
5962
});
6063
});
6164

0 commit comments

Comments
 (0)