Skip to content

Commit b57866d

Browse files
committed
fix createRichMenu test to check correct request body was sent
1 parent 03ce3c5 commit b57866d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/client.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ describe("client", () => {
183183
equal(res.headers.authorization, "Bearer test_channel_access_token");
184184
equal(res.path, "/richmenu");
185185
equal(res.method, "POST");
186+
deepEqual(res.body, richMenu);
186187
});
187188
});
188189

0 commit comments

Comments
 (0)