Skip to content

Commit

Permalink
test(reactivity): replace isReactive with isReadonly (#7513)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsypower authored Jun 4, 2024
1 parent 671cf29 commit 4caabf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/reactivity/__tests__/readonly.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit 4caabf2

Please sign in to comment.