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

assert-expect

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assert-expect - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

1

index.js

@@ -15,2 +15,3 @@ var assign = require('lodash.assign');

}));
var expecting;
assert.expect = function (count) {

@@ -17,0 +18,0 @@ numcalls = 0;

2

package.json
{
"name": "assert-expect",
"version": "1.0.4",
"version": "1.0.5",
"description": "exposes qunit-style assert.expect",

@@ -5,0 +5,0 @@ "author": "Thomas Hallock - 1stdibs.com, Inc.",

@@ -5,3 +5,3 @@ "use strict";

it("should expose an expect property that asserts that assert has been called n times since finished was run", function () {
var excepcionThrown;
var exceptionThrown;
assert(assert.expect);

@@ -13,5 +13,5 @@ assert.finished();

} catch (e) {
excepcionThrown = true;
exceptionThrown = true;
}
assert(excepcionThrown);
assert(exceptionThrown);
assert.finished();

@@ -18,0 +18,0 @@ assert.expect(2);

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