Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update index.test.ts

Steven Tey74bda8ec2e58
diff --git a/apps/web/tests/customers/index.test.ts b/apps/web/tests/customers/index.test.ts
index 358be786e4..3bf70b9b68 100644
--- a/apps/web/tests/customers/index.test.ts
+++ b/apps/web/tests/customers/index.test.ts
@@ -10,6 +10,7 @@ const customerRecord = {
name: "John Doe",
email: `${externalId}@example.com`,
avatar: `https://www.gravatar.com/avatar/${externalId}`,
+ country: "US",
};
const expectedCustomer = {
@@ -18,8 +19,7 @@ const expectedCustomer = {
name: customerRecord.name,
email: customerRecord.email,
avatar: customerRecord.avatar,
- // either a string or null
- country: expect.any(String),
+ country: customerRecord.country,
createdAt: expect.any(String),
};