mirror of https://github.com/vuejs/core.git
test(reactivity): replace isReactive with isReadonly (#7513)
This commit is contained in:
parent
671cf297a5
commit
4caabf2cb7
|
@ -450,7 +450,7 @@ describe('reactivity/readonly', () => {
|
||||||
bar: markRaw({ b: 2 }),
|
bar: markRaw({ b: 2 }),
|
||||||
})
|
})
|
||||||
expect(isReadonly(obj.foo)).toBe(true)
|
expect(isReadonly(obj.foo)).toBe(true)
|
||||||
expect(isReactive(obj.bar)).toBe(false)
|
expect(isReadonly(obj.bar)).toBe(false)
|
||||||
})
|
})
|
||||||
|
|
||||||
test('should make ref readonly', () => {
|
test('should make ref readonly', () => {
|
||||||
|
|
Loading…
Reference in New Issue