chore: improve typings in reactivity tests (#96)
This commit is contained in:
committed by
Evan You
parent
0fe8801782
commit
600ec5de42
@@ -106,7 +106,7 @@ describe('reactivity/readonly', () => {
|
||||
|
||||
describe('Array', () => {
|
||||
it('should make nested values readonly', () => {
|
||||
const original: any[] = [{ foo: 1 }]
|
||||
const original = [{ foo: 1 }]
|
||||
const observed = readonly(original)
|
||||
expect(observed).not.toBe(original)
|
||||
expect(isReactive(observed)).toBe(true)
|
||||
|
||||
Reference in New Issue
Block a user