We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0388f2 commit 51c29c2Copy full SHA for 51c29c2
test/diretive.test.ts
@@ -56,7 +56,7 @@ describe('basic', () => {
56
const App = defineComponent({
57
setup() {
58
// <p v-t="msg"></p>
59
- const msg = ref('hello')
+ const msg = ref('binding')
60
const t = resolveDirective('t')
61
return () => {
62
return withDirectives(h('p'), [[t, msg.value]])
@@ -84,7 +84,7 @@ test('object literal', async () => {
84
85
86
87
- // <p v-t="{ path: 'hello', locale: 'ja', args: { name } }"></p>
+ // <p v-t="{ path: 'hello', locale: 'ja', args: { name: name.value } }"></p>
88
const name = ref('kazupon')
89
90
0 commit comments