Skip to content

Commit

Permalink
chore: fix snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jun 16, 2022
1 parent cdfd9f3 commit b3432ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/compiler-sfc/test/prefixIdentifiers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ it('setup bindings', () => {
}
)

expect(result).toMatch(`_setup = _vm._setupProxy`)
expect(result).toMatch(`_setup = _vm._self._setupProxy`)
expect(result).toMatch(`_setup.count++`)
expect(result).toMatch(`_vm._s(_setup.count)`)

expect(result).toMatchInlineSnapshot(`
"function render() {
var _vm = this,
_c = _vm._self._c,
_setup = _vm._setupProxy
_setup = _vm._self._setupProxy
return _c(
\\"div\\",
{
Expand Down

0 comments on commit b3432ff

Please sign in to comment.