]> git.ipfire.org Git - thirdparty/vuejs/core.git/commit
fix(runtime-core): allow overriding properties other than props (#3105)
authorCédric Exbrayat <cexbrayat@users.noreply.github.com>
Fri, 5 Feb 2021 18:59:46 +0000 (19:59 +0100)
committerGitHub <noreply@github.com>
Fri, 5 Feb 2021 18:59:46 +0000 (19:59 +0100)
commit73117f6b5b1e36c9400248ed9e815839c49a12c8
treed73747bb4a5cdb52e23891fb06e314e4af4de920
parent48f0d2944f0f9d2f556e62782fc61985897b2ed4
fix(runtime-core): allow overriding properties other than props (#3105)

This is useful for testing, as Jest can't spy on an object without `hasOwnProperty`.
VTU can add it, but this commit is needed first.
packages/runtime-core/__tests__/componentProps.spec.ts
packages/runtime-core/src/componentPublicInstance.ts