09edc53564ea88bb3963d7beb45539f29a1187815c99c2a61b03f6a1565e7b7751a59a38232ad244a9155967e62106a817080728d4fbdbb059b83464751503 331 B

123456
  1. // this file is called MemoryLeakTest.js (not MemoryLeak.spec.js) to make sure it is manually executed as the last suite
  2. describe('MemoryLeakTest', () => {
  3. it('after all Handsontable instances are destroy()\'d, there should be no more active listeners', () => {
  4. expect(Handsontable._getListenersCounter()).toBe(0);
  5. });
  6. });