Skip to content

Commit d743a14

Browse files
committed
test: add test case
1 parent 5011205 commit d743a14

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/runtime-core/__tests__/components/BaseTransition.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1230,4 +1230,9 @@ describe('BaseTransition', () => {
12301230
await runTestWithKeepAlive(testInOutBeforeFinish)
12311231
})
12321232
})
1233+
1234+
// #10719
1235+
test('should not error on KeepAlive w/ function children', () => {
1236+
expect(() => mount({}, () => () => h('div'), true)).not.toThrow()
1237+
})
12331238
})

0 commit comments

Comments
 (0)