Skip to content

Commit 3523f74

Browse files
committed
build(deps-dev): handle @types/jest bump
1 parent 4b610b3 commit 3523f74

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@rollup/plugin-node-resolve": "^9.0.0",
5151
"@rollup/plugin-replace": "^2.2.1",
5252
"@types/hash-sum": "^1.0.0",
53-
"@types/jest": "^26.0.0",
53+
"@types/jest": "^26.0.16",
5454
"@types/node": "^14.10.1",
5555
"@types/puppeteer": "^2.0.0",
5656
"@typescript-eslint/parser": "^4.1.1",

packages/runtime-core/__tests__/rendererComponent.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ describe('renderer: component', () => {
142142

143143
// #2170
144144
test('instance.$el should be exposed to watch options', async () => {
145-
function returnThis(this: any) {
145+
function returnThis(this: any, _arg: any) {
146146
return this
147147
}
148148
const propWatchSpy = jest.fn(returnThis)

packages/runtime-core/__tests__/vnode.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ describe('vnode', () => {
515515
// slot content (called during the block node creation) to be missed
516516
test('element block should track normalized slot children', () => {
517517
const hoist = createVNode('div')
518-
let vnode1
518+
let vnode1: any
519519
const vnode = (openBlock(),
520520
createBlock('div', null, {
521521
default: () => {

yarn.lock

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,14 +869,22 @@
869869
dependencies:
870870
"@types/istanbul-lib-report" "*"
871871

872-
"@types/[email protected]", "@types/jest@^26.0.0":
872+
873873
version "26.0.15"
874874
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-26.0.15.tgz#12e02c0372ad0548e07b9f4e19132b834cb1effe"
875875
integrity sha512-s2VMReFXRg9XXxV+CW9e5Nz8fH2K1aEhwgjUqPPbQd7g95T0laAcvLv032EhFHIa5GHsZ8W7iJEQVaJq6k3Gog==
876876
dependencies:
877877
jest-diff "^26.0.0"
878878
pretty-format "^26.0.0"
879879

880+
"@types/jest@^26.0.16":
881+
version "26.0.16"
882+
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-26.0.16.tgz#b47abd50f6ed0503f589db8e126fc8eb470cf87c"
883+
integrity sha512-Gp12+7tmKCgv9JjtltxUXokohCAEZfpJaEW5tn871SGRp8I+bRWBonQO7vW5NHwnAHe5dd50+Q4zyKuN35i09g==
884+
dependencies:
885+
jest-diff "^26.0.0"
886+
pretty-format "^26.0.0"
887+
880888
"@types/lru-cache@^5.1.0":
881889
version "5.1.0"
882890
resolved "https://registry.yarnpkg.com/@types/lru-cache/-/lru-cache-5.1.0.tgz#57f228f2b80c046b4a1bd5cac031f81f207f4f03"

0 commit comments

Comments
 (0)