(collection: Set<any>, fnName: string)
| 9 | |
| 10 | describe('reactivity/collections', () => { |
| 11 | function coverCollectionFn(collection: Set<any>, fnName: string) { |
| 12 | const spy = vi.fn() |
| 13 | let proxy = reactive(collection) |
| 14 | ;(collection as any)[fnName] = spy |
| 15 | return [proxy as any, spy] |
| 16 | } |
| 17 | |
| 18 | describe('Set', () => { |
| 19 | it('instanceof', () => { |