@jest/expect
Advanced tools
Comparing version 29.1.2 to 29.2.0
@@ -7,23 +7,16 @@ 'use strict'; | ||
exports.jestExpect = void 0; | ||
function _expect() { | ||
const data = require('expect'); | ||
_expect = function () { | ||
return data; | ||
}; | ||
return data; | ||
} | ||
function _jestSnapshot() { | ||
const data = require('jest-snapshot'); | ||
_jestSnapshot = function () { | ||
return data; | ||
}; | ||
return data; | ||
} | ||
/** | ||
@@ -35,2 +28,3 @@ * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
*/ | ||
function createJestExpect() { | ||
@@ -44,8 +38,6 @@ _expect().expect.extend({ | ||
}); | ||
_expect().expect.addSnapshotSerializer = _jestSnapshot().addSerializer; | ||
return _expect().expect; | ||
} | ||
const jestExpect = createJestExpect(); | ||
exports.jestExpect = jestExpect; |
{ | ||
"name": "@jest/expect", | ||
"version": "29.1.2", | ||
"version": "29.2.0", | ||
"repository": { | ||
@@ -20,4 +20,4 @@ "type": "git", | ||
"dependencies": { | ||
"expect": "^29.1.2", | ||
"jest-snapshot": "^29.1.2" | ||
"expect": "^29.2.0", | ||
"jest-snapshot": "^29.2.0" | ||
}, | ||
@@ -34,3 +34,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "3c31dd619e8c022cde53f40fa12ea2a67f4752ce" | ||
"gitHead": "ee5b37a4f4433afcfffb0356cea47739d8092287" | ||
} |
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
5261
Updatedexpect@^29.2.0
Updatedjest-snapshot@^29.2.0