Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

challenge

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

challenge - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"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();

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc