Comparing version 4.0.0 to 4.0.1
# Change log for ospec | ||
- [Upcoming](#upcoming) | ||
- [4.0.1](#401) | ||
- [4.0.0](#400) | ||
- [3.1.0](#310) | ||
@@ -15,2 +17,5 @@ - [3.0.1](#301) | ||
### 4.0.1 | ||
- Fix `require` with relative paths | ||
### 4.0.0 | ||
@@ -17,0 +22,0 @@ - Pull ESM support out |
11
ospec.js
@@ -292,8 +292,7 @@ "use strict" | ||
var message = serialize(self.value) + "\n " + verb + "\n" + serialize(value) | ||
if (compare(self.value, value)){ | ||
succeed(self, message) | ||
return function(message) { | ||
if (!self.pass) self.message = message + "\n\n" + self.message | ||
} | ||
}else fail(self, message) | ||
if (compare(self.value, value)) succeed(self, message) | ||
else fail(self, message) | ||
return function(message) { | ||
if (!self.pass) self.message = message + "\n\n" + self.message | ||
} | ||
} | ||
@@ -300,0 +299,0 @@ } |
{ | ||
"name": "ospec", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Noiseless testing framework", | ||
@@ -5,0 +5,0 @@ "main": "ospec.js", |
Sorry, the diff of this file is not supported yet
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
59081
1032