test(reactivity): replace isReactive with isReadonly (#7513)

This commit is contained in:
2024-06-04 22:13:48 +08:00 committed by GitHub
parent 671cf297a5
commit 4caabf2cb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ describe('reactivity/readonly', () => {
bar: markRaw({ b: 2 }),
})
expect(isReadonly(obj.foo)).toBe(true)
expect(isReactive(obj.bar)).toBe(false)
expect(isReadonly(obj.bar)).toBe(false)
})
test('should make ref readonly', () => {