mirror of https://github.com/vuejs/core.git
chore: fix test
This commit is contained in:
parent
d45cbfcdfb
commit
9ca8b7c1b5
|
@ -575,7 +575,7 @@ describe('compiler: transform v-model', () => {
|
||||||
expect(onError).toHaveBeenCalledTimes(1)
|
expect(onError).toHaveBeenCalledTimes(1)
|
||||||
expect(onError).toHaveBeenCalledWith(
|
expect(onError).toHaveBeenCalledWith(
|
||||||
expect.objectContaining({
|
expect.objectContaining({
|
||||||
code: ErrorCodes.X_V_MODEL_ON_SCOPE_VARIABLE
|
code: ErrorCodes.X_V_MODEL_ON_PROPS
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue