@quantlab/handsontable
Version:
Spreadsheet-like data grid editor that provides copy/paste functionality compatible with Excel/Google Docs
7 lines (6 loc) • 337 B
JavaScript
// this file is called MemoryLeakTest.js (not MemoryLeak.spec.js) to make sure it is manually executed as the last suite
describe('MemoryLeakTest', () => {
it('after all Handsontable instances are destroy()\'d, there should be no more active listeners', () => {
expect(Handsontable._getListenersCounter()).toBe(0);
});
});