@testforgejs/vue-test-plugin-i18n 1.0.0-beta.0 → 1.0.0-beta.2
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/README.md +8 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -41,11 +41,19 @@ const framework = createTestFramework({
|
|
|
41
41
|
enabled: true,
|
|
42
42
|
},
|
|
43
43
|
],
|
|
44
|
+
defaults: {
|
|
45
|
+
i18n: () => ({
|
|
46
|
+
legacy: false,
|
|
47
|
+
locale: "en",
|
|
48
|
+
}),
|
|
49
|
+
},
|
|
44
50
|
},
|
|
45
51
|
},
|
|
46
52
|
});
|
|
47
53
|
```
|
|
48
54
|
|
|
55
|
+
`defaults.i18n` is an options factory. Each invocation produces a fresh Vue I18n options object for the current pipeline context.
|
|
56
|
+
|
|
49
57
|
## Supported versions
|
|
50
58
|
|
|
51
59
|
- Vue I18n: 9–11
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testforgejs/vue-test-plugin-i18n",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Official TestForge plugin for vue-i18n integration in component tests",
|
|
6
6
|
"homepage": "https://github.com/testforgejs/testforge#readme",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"author": "Roman Levchenko",
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"vue-i18n": ">=9.0.0 <12.0.0",
|
|
47
|
-
"@testforgejs/vue-test-core": "1.0.0-beta.
|
|
47
|
+
"@testforgejs/vue-test-core": "1.0.0-beta.2"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"vue-i18n": "^11.4.8",
|
|
51
|
-
"@testforgejs/vue-test-core": "1.0.0-beta.
|
|
51
|
+
"@testforgejs/vue-test-core": "1.0.0-beta.2"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "tsup",
|