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 661d880 commit d304eeeCopy full SHA for d304eee
test/weex/compiler/v-model.spec.js
@@ -14,7 +14,7 @@ describe('compile v-model', () => {
14
it('should compile other component with whole $event as the value', () => {
15
const { render, staticRenderFns, errors } = compile(`<div><foo v-model="x" /></div>`)
16
expect(render).not.toBeUndefined()
17
- expect(render).toMatch(strToRegExp(`model:{value:(x),callback:function (value) {x=value}}`))
+ expect(render).toMatch(strToRegExp(`model:{value:(x),callback:function ($$v) {x=$$v}}`))
18
expect(staticRenderFns).toEqual([])
19
expect(errors).toEqual([])
20
})
0 commit comments