Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mfbx9da4 committed Dec 20, 2021
1 parent f0ce7b7 commit f931545
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 74 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "deep-email-validator",
"version": "0.1.18",
"version": "0.1.19",
"files": [
"dist/**/*"
],
Expand Down
73 changes: 0 additions & 73 deletions test/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -75,56 +75,6 @@ Object {
}
`;

exports[`validation tests fails with bad mailbox 2`] = `
Object {
"reason": "smtp",
"valid": false,
"validators": Object {
"disposable": Object {
"valid": true,
},
"mx": Object {
"valid": true,
},
"regex": Object {
"valid": true,
},
"smtp": Object {
"reason": "Mailbox not found.",
"valid": false,
},
"typo": Object {
"valid": true,
},
},
}
`;

exports[`validation tests fails with bad mailbox 3`] = `
Object {
"reason": "smtp",
"valid": false,
"validators": Object {
"disposable": Object {
"valid": true,
},
"mx": Object {
"valid": true,
},
"regex": Object {
"valid": true,
},
"smtp": Object {
"reason": "Mailbox not found.",
"valid": false,
},
"typo": Object {
"valid": true,
},
},
}
`;

exports[`validation tests fails with bad regex 1`] = `
Object {
"reason": "regex",
Expand Down Expand Up @@ -248,29 +198,6 @@ Object {
}
`;

exports[`validation tests passes when valid special char 2`] = `
Object {
"valid": true,
"validators": Object {
"disposable": Object {
"valid": true,
},
"mx": Object {
"valid": true,
},
"regex": Object {
"valid": true,
},
"smtp": Object {
"valid": true,
},
"typo": Object {
"valid": true,
},
},
}
`;

exports[`validation tests passes when valid wildcard 1`] = `
Object {
"valid": true,
Expand Down

0 comments on commit f931545

Please sign in to comment.