Skip to content

Commit 4ee76d6

Browse files
committed
fix: shallowReadonly should work for ref
1 parent ad04c2f commit 4ee76d6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/v3/reactivity/readonly.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,9 +399,7 @@ describe('reactivity/readonly', () => {
399399
},
400400
}).$mount()
401401

402-
expect(vm.$el.textContent).toBe(`{
403-
"number": 0
404-
} 0`)
402+
expect(vm.$el.textContent).toBe(`{\n "number": 0\n} 0`)
405403
})
406404
})
407405
})

0 commit comments

Comments
 (0)