Skip to content

Commit 3e9d339

Browse files
committed
Improve messaging
1 parent 8619904 commit 3e9d339

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function render(
2626

2727
if (store || routes) {
2828
console.warn(`Providing 'store' or 'routes' options is now deprecated.
29-
You need to create a router/vuex plugin and provide it through 'global.plugins'.
29+
You need to create a router/vuex instance and provide it through 'global.plugins'.
3030
Check out the test examples on GitHub for further details.`)
3131
}
3232

types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ type VueTestUtilsRenderOptions = Omit<
3232
>
3333
type VueTestingLibraryRenderOptions = {
3434
/**
35-
* @deprecated Use `global.plugins` array instead.
35+
* @deprecated Add a Vuex instance through `global.plugins` array instead.
3636
*/
3737
store: any
3838
/**
39-
* @deprecated Use `global.plugins` array instead.
39+
* @deprecated Add a Router instance through `global.plugins` array instead.
4040
*/
4141
routes?: any
4242
container?: Element

0 commit comments

Comments
 (0)