Skip to content

Commit

Permalink
fix: add test for AsyncComponentFactory
Browse files Browse the repository at this point in the history
Close #10252
  • Loading branch information
NataliaTepluhina committed Jul 14, 2019
1 parent f75a39d commit 3be9e28
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions types/test/options-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,5 +477,13 @@ Vue.component('functional-component-v-model', {
}
});

Vue.component('async-component-factory', () => ({
component: import('./es-module'),
loading: Vue.component(''),
error: Vue.component(''),
delay: 100,
timeout: 200
}))


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

0 comments on commit 3be9e28

Please sign in to comment.