We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da4ba02 commit 57c9347Copy full SHA for 57c9347
test/address.js
@@ -83,6 +83,12 @@ describe('wikipedia examples: https://en.wikipedia.org/wiki/Email_address#Intern
83
})
84
85
describe('bad addresses fail', function () {
86
+ it('foo@example.com+bob@attacker.com', function () {
87
+ assert.throws(function () {
88
+ new Address('foo@example.com+bob@attacker.com');
89
+ })
90
91
+
92
it('<user@example.com#>', function () {
93
assert.throws(function () {
94
new Address('<user@example.com#>');
0 commit comments