Skip to content
This repository was archived by the owner on Apr 22, 2024. It is now read-only.

Commit 65c4dec

Browse files
committed
fix: unit tests
1 parent 4d4c1de commit 65c4dec

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/unit/generator-vue3.spec.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ test('javascript: legacy', async () => {
2828
expect(sfc).toMatch(`import { defineComponent } from 'vue'`)
2929
expect(sfc).toMatch(`export default defineComponent({`)
3030
const pack = files['package.json']
31-
expect(pack).toMatch(`"vue-i18n": "^9.0.0-rc.7"`)
32-
expect(pack).toMatch(`"@intlify/vue-i18n-loader": "^2.0.0-rc.1"`)
31+
expect(pack).toMatch(`"vue-i18n": "^9.0.0"`)
32+
expect(pack).toMatch(`"@intlify/vue-i18n-loader": "^2.0.0"`)
3333
})
3434

3535
test('javascript: composition', async () => {
@@ -62,8 +62,8 @@ test('javascript: composition', async () => {
6262
expect(sfc).toMatch(`export default defineComponent({`)
6363
expect(sfc).toMatch(`const { t } = useI18n({`)
6464
const pack = files['package.json']
65-
expect(pack).toMatch(`"vue-i18n": "^9.0.0-rc.7"`)
66-
expect(pack).toMatch(`"@intlify/vue-i18n-loader": "^2.0.0-rc.1"`)
65+
expect(pack).toMatch(`"vue-i18n": "^9.0.0"`)
66+
expect(pack).toMatch(`"@intlify/vue-i18n-loader": "^2.0.0"`)
6767
})
6868

6969
test('typescript: composition', async () => {
@@ -107,6 +107,6 @@ test('typescript: composition', async () => {
107107
expect(sfc).toMatch(`export default defineComponent({`)
108108
expect(sfc).toMatch(`const { t } = useI18n({`)
109109
const pack = files['package.json']
110-
expect(pack).toMatch(`"vue-i18n": "^9.0.0-rc.7"`)
111-
expect(pack).toMatch(`"@intlify/vue-i18n-loader": "^2.0.0-rc.1"`)
110+
expect(pack).toMatch(`"vue-i18n": "^9.0.0"`)
111+
expect(pack).toMatch(`"@intlify/vue-i18n-loader": "^2.0.0"`)
112112
})

0 commit comments

Comments
 (0)