@engage_so/node
Advanced tools
Comparing version 1.3.0 to 1.3.4
{ | ||
"name": "@engage_so/node", | ||
"version": "1.3.0", | ||
"version": "1.3.4", | ||
"description": "Event driven customer segmentation and targeted engagement.", | ||
@@ -13,3 +13,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@engage_so/core": "^1.3.0" | ||
"@engage_so/core": "^1.3.4" | ||
}, | ||
@@ -21,3 +21,3 @@ "author": "Engage", | ||
}, | ||
"gitHead": "c6bcac60200eaf8bbe1da30f9888cf5e755724f4" | ||
"gitHead": "b288998ee988a348358f0a39c3747d1049d37dbd" | ||
} |
@@ -40,4 +40,6 @@ const Engage = require('../index') | ||
}) | ||
test('should throw if no email passed', async () => { | ||
await expect(Engage.identify({ id })).rejects.toThrowError(/email/i) | ||
test('should not throw if no email passed', async () => { | ||
expect(() => { | ||
Engage.identify({ id }) | ||
}).not.toThrowError() | ||
}) | ||
@@ -55,3 +57,4 @@ test('should throw if invalid email passed', async () => { | ||
})).resolves.toMatchObject({ | ||
status: 'ok' | ||
uid: id, | ||
email: 'fickledreams@yahoo.com' | ||
}) | ||
@@ -77,3 +80,5 @@ }) | ||
})).resolves.toMatchObject({ | ||
status: 'ok' | ||
uid: id, | ||
email: 'fickledreams@yahoo.com', | ||
first_name: 'Opeyemi' | ||
}) | ||
@@ -80,0 +85,0 @@ }) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4085
119
Updated@engage_so/core@^1.3.4