@testforgejs/vue-test-plugin-router 1.0.0-beta.5 → 1.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +7 -4
- package/dist/index.d.ts +7 -4
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -12,8 +12,11 @@ declare const ROUTER_PLUGIN_NAME: "router";
|
|
|
12
12
|
/**
|
|
13
13
|
* Configuration options for the Vue Router test plugin.
|
|
14
14
|
*
|
|
15
|
-
* Combines
|
|
16
|
-
*
|
|
15
|
+
* Combines native Vue Router options with TestForge-specific
|
|
16
|
+
* controls for managed plugin instances.
|
|
17
|
+
*
|
|
18
|
+
* TestForge control options are handled internally and are not
|
|
19
|
+
* forwarded to the native Vue Router factory.
|
|
17
20
|
*
|
|
18
21
|
* @example
|
|
19
22
|
* Configure the managed Vue Router plugin for a component test:
|
|
@@ -29,8 +32,8 @@ declare const ROUTER_PLUGIN_NAME: "router";
|
|
|
29
32
|
* });
|
|
30
33
|
* ```
|
|
31
34
|
*
|
|
32
|
-
* @see `RouterOptions` from `vue-router` for
|
|
33
|
-
* @see `PluginControlOptions` from `@testforgejs/vue-test-core` for instance capturing
|
|
35
|
+
* @see `RouterOptions` from `vue-router` for native Vue Router configuration.
|
|
36
|
+
* @see `PluginControlOptions` from `@testforgejs/vue-test-core` for type-safe instance capturing.
|
|
34
37
|
*/
|
|
35
38
|
type VueTestRouterOptions = RouterOptions & PluginControlOptions<Router>;
|
|
36
39
|
|
package/dist/index.d.ts
CHANGED
|
@@ -12,8 +12,11 @@ declare const ROUTER_PLUGIN_NAME: "router";
|
|
|
12
12
|
/**
|
|
13
13
|
* Configuration options for the Vue Router test plugin.
|
|
14
14
|
*
|
|
15
|
-
* Combines
|
|
16
|
-
*
|
|
15
|
+
* Combines native Vue Router options with TestForge-specific
|
|
16
|
+
* controls for managed plugin instances.
|
|
17
|
+
*
|
|
18
|
+
* TestForge control options are handled internally and are not
|
|
19
|
+
* forwarded to the native Vue Router factory.
|
|
17
20
|
*
|
|
18
21
|
* @example
|
|
19
22
|
* Configure the managed Vue Router plugin for a component test:
|
|
@@ -29,8 +32,8 @@ declare const ROUTER_PLUGIN_NAME: "router";
|
|
|
29
32
|
* });
|
|
30
33
|
* ```
|
|
31
34
|
*
|
|
32
|
-
* @see `RouterOptions` from `vue-router` for
|
|
33
|
-
* @see `PluginControlOptions` from `@testforgejs/vue-test-core` for instance capturing
|
|
35
|
+
* @see `RouterOptions` from `vue-router` for native Vue Router configuration.
|
|
36
|
+
* @see `PluginControlOptions` from `@testforgejs/vue-test-core` for type-safe instance capturing.
|
|
34
37
|
*/
|
|
35
38
|
type VueTestRouterOptions = RouterOptions & PluginControlOptions<Router>;
|
|
36
39
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testforgejs/vue-test-plugin-router",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Official TestForge plugin for Vue Router integration in component tests",
|
|
6
6
|
"homepage": "https://github.com/testforgejs/testforge#readme",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"author": "Roman Levchenko",
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"vue-router": "^4.0.0 || ^5.0.0",
|
|
48
|
-
"@testforgejs/vue-test-core": "1.0.0-beta.
|
|
48
|
+
"@testforgejs/vue-test-core": "1.0.0-beta.5"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"vue-router": "^5.0.0",
|
|
52
|
-
"@testforgejs/vue-test-core": "1.0.0-beta.
|
|
52
|
+
"@testforgejs/vue-test-core": "1.0.0-beta.5"
|
|
53
53
|
},
|
|
54
54
|
"testforge": {
|
|
55
55
|
"plugin": {
|