Skip to content

Commit

Permalink
update query call test
Browse files Browse the repository at this point in the history
  • Loading branch information
szuperaz committed Nov 8, 2023
1 parent a77641e commit 3641ec3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion __tests__/call.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,12 @@ describe("call API", () => {
});

it("query calls - upcoming", async () => {
const mins30 = 1000 * 60 * 60 * 30;
const inNext30mins = new Date(Date.now() + mins30);
const response = await client.video.queryCalls({
filter_conditions: { starts_at: { $gt: new Date().toISOString() } },
filter_conditions: {
starts_at: { $gt: inNext30mins.toISOString() },
},
});

// Dummy test
Expand Down

0 comments on commit 3641ec3

Please sign in to comment.