From 5cdad488aa023e8548465107da8b28aad1cbc582 Mon Sep 17 00:00:00 2001 From: Marc Durdin Date: Sat, 8 Jun 2024 10:46:31 +1000 Subject: [PATCH] test(developer): add extra email address tests Co-authored-by: Eberhard Beilharz --- developer/src/common/web/utils/test/test-is-valid-email.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/developer/src/common/web/utils/test/test-is-valid-email.ts b/developer/src/common/web/utils/test/test-is-valid-email.ts index 28230e84bdd..af2aff17a78 100644 --- a/developer/src/common/web/utils/test/test-is-valid-email.ts +++ b/developer/src/common/web/utils/test/test-is-valid-email.ts @@ -8,7 +8,10 @@ describe('test-is-valid-email', function () { 'email@example.com', 'email.example-true@example.com', 'email@example-example.com', - 'email...@example.com' + 'email...@example.com', + 'email_example1@1example.com', + 'email+example@mail.example.com', + 'Email@Example.Com' ].forEach(email => assert.isTrue(isValidEmail(email), `expected '${email}' to be valid`)); // This is accepted, but it's really a bit wonky. But that's an upstream