Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "challenge", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A node.js mocha unit test generator with support for JSON case data.", | ||
@@ -5,0 +5,0 @@ "main": "source/Challenge.js", |
@@ -164,2 +164,4 @@ /** | ||
.to.equal('object'); //TODO: this is pretty generic. Maybe work off single vs. Array | ||
Expect(pResponse.body) | ||
.to.not.have.property('Error'); | ||
@@ -182,5 +184,7 @@ return fNext(); | ||
.to.be.an('object'); | ||
Expect(pResponse.body.id) | ||
.to.equal(pCase.id || pCase.data.id); | ||
Expect(pResponse.body) | ||
.to.not.have.property('Error'); | ||
//TODO: check ID field | ||
return fNext(); | ||
@@ -202,4 +206,6 @@ } | ||
.to.be.an('object'); | ||
Expect(pResponse.body.id) | ||
.to.not.equal(0); | ||
Expect(pResponse.body) | ||
.to.not.have.property('Error'); | ||
//TODO: check ID field | ||
@@ -206,0 +212,0 @@ return fNext(); |
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
16131
485