Simple test case for fergiemcdowall/search-index#164
To test:
- npm i
- npm test
After some number of iterations you should see:
TypeError: Cannot read property 'filter' of undefined
On my four-core laptop this typically takes less than 50 iterations.