Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
e643cf714e | |||
5a82307afe |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartmail",
|
"name": "@pushrocks/smartmail",
|
||||||
"version": "1.0.14",
|
"version": "1.0.15",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartmail",
|
"name": "@pushrocks/smartmail",
|
||||||
"version": "1.0.14",
|
"version": "1.0.15",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "a unified format for representing and dealing with mails",
|
"description": "a unified format for representing and dealing with mails",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
@ -12,7 +12,7 @@ tap.test('should validate an email', async () => {
|
|||||||
const result = await emailAddressValidatorInstance.validate('sandbox@bleu.de');
|
const result = await emailAddressValidatorInstance.validate('sandbox@bleu.de');
|
||||||
});
|
});
|
||||||
|
|
||||||
tap.test('first test', async () => {
|
tap.test('should create a SmartMail', async () => {
|
||||||
const testSmartmail = new smartmail.Smartmail({
|
const testSmartmail = new smartmail.Smartmail({
|
||||||
body: 'hi there',
|
body: 'hi there',
|
||||||
from: 'noreply@mail.lossless.com',
|
from: 'noreply@mail.lossless.com',
|
||||||
|
Reference in New Issue
Block a user