unexpected
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -357,2 +357,6 @@ // Copyright (c) 2013 Sune Simonsen <sune@we-knowhow.dk> | ||
expect.addAssertion('[not] to be true', function () { | ||
this.assert(this.obj === true); | ||
}); | ||
expect.addAssertion('[not] to be (ok|truthy)', function () { | ||
@@ -362,2 +366,6 @@ this.assert(this.obj); | ||
expect.addAssertion('[not] to be false', function () { | ||
this.assert(this.obj === false); | ||
}); | ||
expect.addAssertion('[not] to be falsy', function () { | ||
@@ -364,0 +372,0 @@ this.assert(!this.obj); |
{ | ||
"name": "unexpected", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"author": "Sune Sloth Simonsen <sune@we-knowhow.dk>", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -59,2 +59,4 @@ /*global describe, it, expect*/ | ||
expect(undefined, 'not to be null'); | ||
expect(true, 'to be true'); | ||
expect(false, 'to be false'); | ||
expect(undefined, 'to be undefined'); | ||
@@ -61,0 +63,0 @@ if (typeof Buffer !== 'undefined') { |
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
205985
6395