assert-expect
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -15,2 +15,3 @@ var assign = require('lodash.assign'); | ||
})); | ||
var expecting; | ||
assert.expect = function (count) { | ||
@@ -17,0 +18,0 @@ numcalls = 0; |
{ | ||
"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); |
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
2769
53