Skip to content

Commit 2db5e19

Browse files
Doctor-wusxzz
authored andcommitted
test(runtime-vapor): tweak props test case
1 parent 757aa74 commit 2db5e19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/runtime-vapor/__tests__/componentProps.spec.ts

+2
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ describe('component: props', () => {
222222
test('optimized props updates', async () => {
223223
const t0 = template('<div>')
224224
const { component: Child } = define({
225+
inheritAttrs: false,
225226
props: ['foo'],
226227
render() {
227228
const instance = getCurrentInstance()!
@@ -441,6 +442,7 @@ describe('component: props', () => {
441442
// #5016
442443
test('handling attr with undefined value', () => {
443444
const { render, host } = define({
445+
inheritAttrs: false,
444446
render() {
445447
const instance = getCurrentInstance()!
446448
const t0 = template('<div></div>')

0 commit comments

Comments
 (0)