We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d3ceba commit fc6f181Copy full SHA for fc6f181
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 ($$v) {x=$$v}}`))
+ expect(render).toMatch(strToRegExp(`model:{value:(x),callback:function ($$v) {x=$$v},expression:"x"}`))
18
expect(staticRenderFns).toEqual([])
19
expect(errors).toEqual([])
20
})
0 commit comments