Skip to content

Commit 4caabf2

Browse files
authored
test(reactivity): replace isReactive with isReadonly (#7513)
1 parent 671cf29 commit 4caabf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/reactivity/__tests__/readonly.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ describe('reactivity/readonly', () => {
450450
bar: markRaw({ b: 2 }),
451451
})
452452
expect(isReadonly(obj.foo)).toBe(true)
453-
expect(isReactive(obj.bar)).toBe(false)
453+
expect(isReadonly(obj.bar)).toBe(false)
454454
})
455455

456456
test('should make ref readonly', () => {

0 commit comments

Comments
 (0)