()
| 20 | return { |
| 21 | destroy, |
| 22 | run() { |
| 23 | $.flush(() => { |
| 24 | $.set(head, 1); |
| 25 | }); |
| 26 | assert.equal($.get(computed5), 6); |
| 27 | for (let i = 0; i < 1000; i++) { |
| 28 | $.flush(() => { |
| 29 | $.set(head, i); |
| 30 | }); |
| 31 | assert.equal($.get(computed5), 6); |
| 32 | } |
| 33 | } |
| 34 | }; |
| 35 | }; |