mirror of https://github.com/vuejs/core.git
test(reactivity): Using toRaw on a raw Array (#7354)
This commit is contained in:
parent
b7cfa6f539
commit
8731852919
|
|
@ -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)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue