|
3 | 3 |
|
4 | 4 | import {EmitsOptions} from 'vue' |
5 | 5 | import {MountingOptions} from '@vue/test-utils' |
6 | | -import {StoreOptions} from 'vuex' |
7 | | -import {RouteRecordRaw} from 'vue-router' |
8 | 6 | import {queries, EventType, BoundFunctions} from '@testing-library/dom' |
9 | 7 | // eslint-disable-next-line import/no-extraneous-dependencies |
10 | 8 | import {OptionsReceived as PrettyFormatOptions} from 'pretty-format' |
@@ -33,8 +31,20 @@ type VueTestUtilsRenderOptions = Omit< |
33 | 31 | 'attachTo' | 'shallow' | 'propsData' |
34 | 32 | > |
35 | 33 | type VueTestingLibraryRenderOptions = { |
36 | | - store?: StoreOptions<{}> |
37 | | - routes?: RouteRecordRaw[] |
| 34 | + /** |
| 35 | + * @deprecated "store" parameter is deprecated on favor of providing it |
| 36 | + * as a plugin through `global.plugins`. |
| 37 | + * |
| 38 | + * @see add-link |
| 39 | + */ |
| 40 | + store?: Record<string, any> |
| 41 | + /** |
| 42 | + * @deprecated "routes" parameter is deprecated on favor of providing it |
| 43 | + * as a plugin through `global.plugins`. |
| 44 | + * |
| 45 | + * @see add-link |
| 46 | + */ |
| 47 | + routes?: Record<string, any> |
38 | 48 | container?: Element |
39 | 49 | baseElement?: Element |
40 | 50 | } |
|
0 commit comments