mailgun-js
Advanced tools
Comparing version 0.6.3 to 0.6.4
@@ -229,2 +229,3 @@ var https = require('https'); | ||
error = new Error(msg); | ||
error.statusCode = res.statusCode; | ||
} | ||
@@ -231,0 +232,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"keywords": ["email", "mailgun"], | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"homepage": "https://github.com/1lobby/mailgun-js", | ||
@@ -8,0 +8,0 @@ "license": "MIT", |
@@ -1101,3 +1101,17 @@ var auth = require('./auth.json'); | ||
}); | ||
}, | ||
// | ||
// ERROR | ||
// | ||
'server error should have status code': function (done) { | ||
mailgun.domains('testdomain@test123.com').info(function (err, body) { | ||
assert.ok(err); | ||
assert.ok(err.statusCode); | ||
assert.equal(404, err.statusCode); | ||
done(); | ||
}); | ||
} | ||
}; |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
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
2060
84474
1
0