Skip to content

Commit 8731852

Browse files
authored
test(reactivity): Using toRaw on a raw Array (#7354)
1 parent b7cfa6f commit 8731852

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/reactivity/__tests__/reactiveArray.spec.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,7 @@ describe('reactivity/reactive/Array', () => {
150150

151151
// read + copy
152152
test('read only copy methods', () => {
153-
const res = original.concat([3, ref(4)])
154-
const raw = toRaw(res)
153+
const raw = original.concat([3, ref(4)])
155154
expect(isRef(raw[1])).toBe(true)
156155
expect(isRef(raw[3])).toBe(true)
157156
})

0 commit comments

Comments
 (0)