Skip to content

Commit 36bd5ba

Browse files
fern-supporteyw520
andauthored
Update converstaions integration test. (#468)
Co-authored-by: eden <[email protected]>
1 parent 50a5ec0 commit 36bd5ba

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/integration/conversations.test.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { Intercom } from "../../src";
2-
import { randomString } from "./utils/random";
32
import { createConversation, tryDeleteContact } from "./helpers";
4-
import { wait } from "./utils/wait";
53
import { createClient } from "./utils/createClient";
4+
import { randomString } from "./utils/random";
5+
import { wait } from "./utils/wait";
66

77
describe("Conversations", () => {
88
let user: Intercom.Contact;
@@ -31,11 +31,12 @@ describe("Conversations", () => {
3131
secondUser = await client.contacts.create({
3232
external_id: randomString(),
3333
name: "Babushka Boy",
34-
email: "babushka_boy@bababooey.com",
34+
email: `${randomString()}@bababooey.com`,
3535
});
3636
lead = await client.contacts.create({
37+
external_id: randomString(),
3738
name: "Babushka Lead",
38-
email: "babushka_lead@bababooey.com",
39+
email: `${randomString()}@bababooey.com`,
3940
role: "lead",
4041
});
4142

0 commit comments

Comments
 (0)