Skip to content

Commit 7ccc40f

Browse files
wsypowerchrislone
authored and
chrislone
committed
test(reactivity): Using toRaw on a raw Array (vuejs#7354)
1 parent a05825f commit 7ccc40f

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)