diff --git a/tests/integration/pagination.test.ts b/tests/integration/pagination.test.ts index bfe4b2bd..07112d63 100644 --- a/tests/integration/pagination.test.ts +++ b/tests/integration/pagination.test.ts @@ -49,6 +49,23 @@ describe("Pagination", () => { limit: 2, perPage: 1, greaterThan: 1, + async setup() { + const contact = await client.contacts.create({ + external_id: randomString(), + }); + + await client.conversations.create({ + from: { id: contact.id, type: "user" }, + body: "Test conversation 1", + }); + + await client.conversations.create({ + from: { id: contact.id, type: "user" }, + body: "Test conversation 2", + }); + + return {}; + }, }, { name: "notes",