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

jest-jasmine2

Package Overview
Dependencies
Maintainers
4
Versions
309
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-jasmine2 - npm Package Compare versions

Comparing version 11.0.1 to 11.0.2

4

package.json
{
"name": "jest-jasmine2",
"version": "11.0.1",
"version": "11.0.2",
"repository": {

@@ -12,3 +12,3 @@ "type": "git",

"graceful-fs": "^4.1.3",
"jest-util": "^11.0.1"
"jest-util": "^11.0.2"
},

@@ -15,0 +15,0 @@ "scripts": {

@@ -42,2 +42,21 @@ /**

jasmine = requireJasmine.core(requireJasmine);
const jasmineBuildExpectationResult = jasmine.buildExpectationResult;
// https://github.com/facebook/jest/issues/429
jasmine.buildExpectationResult = function(options) {
if (!options.passed) {
function shallowCopy(obj) {
return typeof obj !== 'object' || obj === null
? obj : jasmine.util.clone(obj);
}
options.expected = shallowCopy(options.expected);
options.actual = shallowCopy(options.actual);
}
return jasmineBuildExpectationResult.apply(jasmine, arguments);
};
env = jasmine.getEnv();

@@ -44,0 +63,0 @@ const jasmineInterface = requireJasmine.interface(jasmine, env);

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