fix(reactivity): add NaN prop on Array should not trigger length dependency. (#1998)
This commit is contained in:
@@ -124,6 +124,8 @@ describe('reactivity/reactive/Array', () => {
|
||||
expect(fn).toHaveBeenCalledTimes(1)
|
||||
observed[-1] = 'x'
|
||||
expect(fn).toHaveBeenCalledTimes(1)
|
||||
observed[NaN] = 'x'
|
||||
expect(fn).toHaveBeenCalledTimes(1)
|
||||
})
|
||||
|
||||
describe('Array methods w/ refs', () => {
|
||||
|
||||
Reference in New Issue
Block a user