Skip to content

Commit

Permalink
fix: shallowReadonly should work for ref
Browse files Browse the repository at this point in the history
  • Loading branch information
ygj6 committed May 24, 2021
1 parent ad04c2f commit 4ee76d6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/v3/reactivity/readonly.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,7 @@ describe('reactivity/readonly', () => {
},
}).$mount()

expect(vm.$el.textContent).toBe(`{
"number": 0
} 0`)
expect(vm.$el.textContent).toBe(`{\n "number": 0\n} 0`)
})
})
})

0 comments on commit 4ee76d6

Please sign in to comment.