chore: improve typings in reactivity tests (#96)

This commit is contained in:
Carlos Rodrigues
2019-10-05 15:39:40 +01:00
committed by Evan You
parent 0fe8801782
commit 600ec5de42
6 changed files with 24 additions and 24 deletions

View File

@@ -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)