Skip to content

Commit 3be9e28

Browse files
fix: add test for AsyncComponentFactory
Close #10252
1 parent f75a39d commit 3be9e28

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: types/test/options-test.ts

+8
Original file line numberDiff line numberDiff line change
@@ -477,5 +477,13 @@ Vue.component('functional-component-v-model', {
477477
}
478478
});
479479

480+
Vue.component('async-component-factory', () => ({
481+
component: import('./es-module'),
482+
loading: Vue.component(''),
483+
error: Vue.component(''),
484+
delay: 100,
485+
timeout: 200
486+
}))
487+
480488

481489
Vue.component('async-es-module-component', () => import('./es-module'))

0 commit comments

Comments
 (0)