Skip to content

Commit

Permalink
Update converstaions integration test. (#468)
Browse files Browse the repository at this point in the history
Co-authored-by: eden <[email protected]>
  • Loading branch information
fern-support and eyw520 authored Feb 7, 2025
1 parent 50a5ec0 commit 36bd5ba
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/integration/conversations.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Intercom } from "../../src";
import { randomString } from "./utils/random";
import { createConversation, tryDeleteContact } from "./helpers";
import { wait } from "./utils/wait";
import { createClient } from "./utils/createClient";
import { randomString } from "./utils/random";
import { wait } from "./utils/wait";

describe("Conversations", () => {
let user: Intercom.Contact;
Expand Down Expand Up @@ -31,11 +31,12 @@ describe("Conversations", () => {
secondUser = await client.contacts.create({
external_id: randomString(),
name: "Babushka Boy",
email: "babushka_boy@bababooey.com",
email: `${randomString()}@bababooey.com`,
});
lead = await client.contacts.create({
external_id: randomString(),
name: "Babushka Lead",
email: "babushka_lead@bababooey.com",
email: `${randomString()}@bababooey.com`,
role: "lead",
});

Expand Down

0 comments on commit 36bd5ba

Please sign in to comment.