build(deps): bump jest-mock-extended from 2.0.9 to 3.0.1 (#1148)

* build(deps): bump jest-mock-extended from 2.0.9 to 3.0.1

Bumps [jest-mock-extended](https://github.com/marchaos/jest-mock-extended) from 2.0.9 to 3.0.1.
- [Release notes](https://github.com/marchaos/jest-mock-extended/releases)
- [Commits](https://github.com/marchaos/jest-mock-extended/commits/3.0.1)

---
updated-dependencies:
- dependency-name: jest-mock-extended
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* [dependabot skip] Fix yarn.lock

* drop jest-mock-extended patch

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com>
Co-authored-by: David Lechner <david@pybricks.com>
This commit is contained in:
dependabot[bot]
2022-09-20 18:50:55 +00:00
committed by GitHub
co-authored by dependabot-fix David Lechner
parent b0c2e1c25b
commit 4a11e72fc4
3 changed files with 7 additions and 33 deletions
@@ -1,13 +0,0 @@
diff --git a/lib/CalledWithFn.js b/lib/CalledWithFn.js
index 56674799caceb24951e71ab00f20eb53a52c5b6c..1aec49f8c67eb840dba54e937fe49f66a9c13872 100644
--- a/lib/CalledWithFn.js
+++ b/lib/CalledWithFn.js
@@ -30,7 +30,7 @@ const calledWithFn = () => {
fn.mockImplementation((...args) => checkCalledWith(calledWithStack, args));
calledWithStack = [];
}
- calledWithStack.push({ args, calledWithFn });
+ calledWithStack.unshift({ args, calledWithFn });
return calledWithFn;
};
return fn;
+1 -2
View File
@@ -66,7 +66,7 @@
"identity-obj-proxy": "^3.0.0",
"jest": "^29.0.3",
"jest-environment-jsdom": "^29.0.3",
"jest-mock-extended": "^2.0.7",
"jest-mock-extended": "^3.0.1",
"jest-resolve": "^29.0.0",
"jest-watch-typeahead": "^2.2.0",
"jszip": "^3.10.1",
@@ -169,7 +169,6 @@
"mq-polyfill@1.1.8": "patch:mq-polyfill@npm:1.1.8#.yarn/patches/mq-polyfill-npm-1.1.8-62fe162439.patch",
"react-error-overlay": "6.0.9",
"react-dev-utils@^12.0.1": "patch:react-dev-utils@npm:12.0.1#.yarn/patches/react-dev-utils-npm-12.0.1-83ba06e3ee.patch",
"jest-mock-extended@^2.0.7": "patch:jest-mock-extended@npm:2.0.7#.yarn/patches/jest-mock-extended-npm-2.0.7-4cdf066556.patch",
"pyodide@0.21.3": "patch:pyodide@npm:0.21.3#.yarn/patches/pyodide-npm-0.21.3-d43042e749.patch"
},
"jest": {
+6 -18
View File
@@ -2480,7 +2480,7 @@ __metadata:
identity-obj-proxy: ^3.0.0
jest: ^29.0.3
jest-environment-jsdom: ^29.0.3
jest-mock-extended: ^2.0.7
jest-mock-extended: ^3.0.1
jest-resolve: ^29.0.0
jest-watch-typeahead: ^2.2.0
jszip: ^3.10.1
@@ -9956,27 +9956,15 @@ __metadata:
languageName: node
linkType: hard
"jest-mock-extended@npm:2.0.7":
version: 2.0.7
resolution: "jest-mock-extended@npm:2.0.7"
"jest-mock-extended@npm:^3.0.1":
version: 3.0.1
resolution: "jest-mock-extended@npm:3.0.1"
dependencies:
ts-essentials: ^7.0.3
peerDependencies:
jest: ^24.0.0 || ^25.0.0 || ^26.0.0 || ^27.0.0 || ^28.0.0
jest: ^24.0.0 || ^25.0.0 || ^26.0.0 || ^27.0.0 || ^28.0.0 || ^29.0.0
typescript: ^3.0.0 || ^4.0.0
checksum: e9928f1c1e4c9d1bb9746e0f0791e7b0c5b91474d10ed07c6f59e80294830b46b9f6f99b418e4ebcb3641db7957f2014317ab4267e56b676789f7013db72aa8e
languageName: node
linkType: hard
"jest-mock-extended@patch:jest-mock-extended@npm:2.0.7#.yarn/patches/jest-mock-extended-npm-2.0.7-4cdf066556.patch::locator=%40pybricks%2Fpybricks-code%40workspace%3A.":
version: 2.0.7
resolution: "jest-mock-extended@patch:jest-mock-extended@npm%3A2.0.7#.yarn/patches/jest-mock-extended-npm-2.0.7-4cdf066556.patch::version=2.0.7&hash=b7e4f2&locator=%40pybricks%2Fpybricks-code%40workspace%3A."
dependencies:
ts-essentials: ^7.0.3
peerDependencies:
jest: ^24.0.0 || ^25.0.0 || ^26.0.0 || ^27.0.0 || ^28.0.0
typescript: ^3.0.0 || ^4.0.0
checksum: 322b8330e8be6fd3a2a2faf45fc63e0140de88acff00c23d64f5f6b071c1f551129f48a9ba355dd86fe37fcf5b3675704ee7ea2a33d449752e4982de161ddaf2
checksum: 8004e6fe538aa80e8e42faf62aa7c76dae1fd23b3f248cf1e428eca0dc8e3315a5f72b075484a5474983d3c4adf421c2064743d5a8c3a1e58a96ef5c59d8159a
languageName: node
linkType: hard