]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
build(deps-dev): handle @types/jest bump
authorEvan You <yyx990803@gmail.com>
Wed, 2 Dec 2020 22:05:30 +0000 (17:05 -0500)
committerEvan You <yyx990803@gmail.com>
Wed, 2 Dec 2020 22:05:30 +0000 (17:05 -0500)
package.json
packages/runtime-core/__tests__/rendererComponent.spec.ts
packages/runtime-core/__tests__/vnode.spec.ts
yarn.lock

index 4ecd9f199acfdfe90204724ff58ceef21d1098f5..263e0e68b4663296aa70f1a9db09b9d9e3c4047b 100644 (file)
@@ -50,7 +50,7 @@
     "@rollup/plugin-node-resolve": "^9.0.0",
     "@rollup/plugin-replace": "^2.2.1",
     "@types/hash-sum": "^1.0.0",
-    "@types/jest": "^26.0.0",
+    "@types/jest": "^26.0.16",
     "@types/node": "^14.10.1",
     "@types/puppeteer": "^2.0.0",
     "@typescript-eslint/parser": "^4.1.1",
index 29a7d076d94de7fc5401c6eab60d14e3d6cbf252..4c45b90a6bd946e7110092acae6533981ee81528 100644 (file)
@@ -142,7 +142,7 @@ describe('renderer: component', () => {
 
   // #2170
   test('instance.$el should be exposed to watch options', async () => {
-    function returnThis(this: any) {
+    function returnThis(this: any, _arg: any) {
       return this
     }
     const propWatchSpy = jest.fn(returnThis)
index 5bfde8e59762efcec214fa48cb4f8ac4f77ee58e..56f1e7b430c2ad8a9f5eefb74d14336d7ecb5565 100644 (file)
@@ -515,7 +515,7 @@ describe('vnode', () => {
     //   slot content (called during the block node creation) to be missed
     test('element block should track normalized slot children', () => {
       const hoist = createVNode('div')
-      let vnode1
+      let vnode1: any
       const vnode = (openBlock(),
       createBlock('div', null, {
         default: () => {
index 471763f89cf961f4f120b73c98435947a2ac96a9..de7f4c4ec6e9971b0d627f72efc8f05d5bd81117 100644 (file)
--- a/yarn.lock
+++ b/yarn.lock
   dependencies:
     "@types/istanbul-lib-report" "*"
 
-"@types/jest@26.x", "@types/jest@^26.0.0":
+"@types/jest@26.x":
   version "26.0.15"
   resolved "https://registry.yarnpkg.com/@types/jest/-/jest-26.0.15.tgz#12e02c0372ad0548e07b9f4e19132b834cb1effe"
   integrity sha512-s2VMReFXRg9XXxV+CW9e5Nz8fH2K1aEhwgjUqPPbQd7g95T0laAcvLv032EhFHIa5GHsZ8W7iJEQVaJq6k3Gog==
     jest-diff "^26.0.0"
     pretty-format "^26.0.0"
 
+"@types/jest@^26.0.16":
+  version "26.0.16"
+  resolved "https://registry.yarnpkg.com/@types/jest/-/jest-26.0.16.tgz#b47abd50f6ed0503f589db8e126fc8eb470cf87c"
+  integrity sha512-Gp12+7tmKCgv9JjtltxUXokohCAEZfpJaEW5tn871SGRp8I+bRWBonQO7vW5NHwnAHe5dd50+Q4zyKuN35i09g==
+  dependencies:
+    jest-diff "^26.0.0"
+    pretty-format "^26.0.0"
+
 "@types/lru-cache@^5.1.0":
   version "5.1.0"
   resolved "https://registry.yarnpkg.com/@types/lru-cache/-/lru-cache-5.1.0.tgz#57f228f2b80c046b4a1bd5cac031f81f207f4f03"