chore(deps): add @intlify/shared
and vue-i18n
v11.0.0 to peer dependencies
#227
Annotations
11 errors
|
Testing:
test/pre-translation.test.ts#L33
Error: Snapshot `basic > <div v-t="'hello'"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": "こんにちは!",
❯ test/pre-translation.test.ts:33:15
|
Testing:
test/pre-translation.test.ts#L53
Error: Snapshot `named > <div v-t="{ path: 'hello', locale: 'ja', args: { name: 'kazupon' } }"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": "こんにちは、kazupon!",
❯ test/pre-translation.test.ts:53:15
|
Testing:
test/pre-translation.test.ts#L75
Error: Snapshot `plural > <div v-t="{ path: 'banana', choice: 2 }"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": "2 bananas",
❯ test/pre-translation.test.ts:75:15
|
Testing:
test/pre-translation.test.ts#L97
Error: Snapshot `missing translation > <div v-t="'foo.bar'"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": "foo.bar",
❯ test/pre-translation.test.ts:97:15
|
Testing:
test/transform.test.ts#L24
Error: Snapshot `literal > path > <div v-t="'hello'"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -255,11 +255,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:24:17
|
Testing:
test/transform.test.ts#L37
Error: Snapshot `literal > object: path, locale, args, plural > <div v-t="{ path: 'dessert', locale: 'en', plural: 2, args: { name: 'banana' } }"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -581,11 +581,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:37:17
|
Testing:
test/transform.test.ts#L52
Error: Snapshot `binding > simple variable > <div v-t="hello"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -227,11 +227,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:52:17
|
Testing:
test/transform.test.ts#L65
Error: Snapshot `binding > object > <div v-t="{ path: foo.bar.buz, locale, plural: 2, args: { name: 'banana' } }"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -739,11 +739,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:65:17
|
Testing:
test/transform.test.ts#L79
Error: Snapshot `no specify > <div v-t=""/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -226,11 +226,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:79:15
|
Testing:
test/transform.test.ts#L105
Error: Snapshot `invalid expression > <p v-t="[0]"></p> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""p"",
"type": 13,
},
"loc": {
@@ -277,11 +277,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""p"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:105:15
|
Loading