From bfcfdd4341f7599ca6760e0a772bb5cd14cb3cb0 Mon Sep 17 00:00:00 2001 From: Ravi Shekhar Date: Mon, 6 May 2024 10:51:21 -0500 Subject: [PATCH] fix invalid venmo domain tests (#199) --- src/domains.test.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/domains.test.js b/src/domains.test.js index 25d64002..05670a6a 100644 --- a/src/domains.test.js +++ b/src/domains.test.js @@ -65,9 +65,16 @@ describe(`domains test`, () => { it("should not match invalid venmo domains", () => { const invalidDomains = [ - "www.venmo.com.example.com", - "www.venmo.cn.example.com", - "www.venmo.com", + "https://www.venmo.com.example.com", + "https://www.venmo.cn.example.com", + "http://www.venmo.com.example.com", + "http://www.venmo.cn.example.com", + "http://www.example.com", + "https://www.example.com", + "https://venmo.com.example.com", + "https://venmo.cn.example.com", + "http://venmo.com.example.com", + "http://venmo.cn.example.com", ]; for (const domain of invalidDomains) {