Skip to content

Commit

Permalink
fix invalid venmo domain tests (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
ravishekhar authored May 6, 2024
1 parent 9eb713f commit bfcfdd4
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/domains.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit bfcfdd4

Please sign in to comment.