Skip to content

Commit

Permalink
test(reactivity): Using toRaw on a raw Array (#7354)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsypower committed Jan 9, 2023
1 parent b7cfa6f commit 8731852
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/reactivity/__tests__/reactiveArray.spec.ts
Expand Up @@ -150,8 +150,7 @@ describe('reactivity/reactive/Array', () => {

// read + copy
test('read only copy methods', () => {
const res = original.concat([3, ref(4)])
const raw = toRaw(res)
const raw = original.concat([3, ref(4)])
expect(isRef(raw[1])).toBe(true)
expect(isRef(raw[3])).toBe(true)
})
Expand Down

0 comments on commit 8731852

Please sign in to comment.