Skip to content

Commit d9cdf22

Browse files
Update packages/reactivity/__tests__/ref.spec.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 4455ffe commit d9cdf22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/reactivity/__tests__/ref.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,10 @@ describe('reactivity/ref', () => {
345345
expect(a[1]).toBe('c')
346346

347347
a[1] = ref('d')
348-
expect(isRef(a[1]))
348+
expect(isRef(a[1])).toBe(true)
349349
expect(r.value).toBe('d')
350350
r.value = 'e'
351-
expect(isRef(a[1]))
351+
expect(isRef(a[1])).toBe(true)
352352
expect(a[1].value).toBe('e')
353353

354354
const s = toRef(a, 2, 'def')

0 commit comments

Comments
 (0)