qunit icon indicating copy to clipboard operation
qunit copied to clipboard

CLI --watch accomulates error handlers

Open Krinkle opened this issue 2 years ago • 0 comments

Tell us about your runtime:

  • QUnit version: 2.18.2
  • Environment: Node

What actually happened?

Screenshot

What did you expect to happen?

Ultimately, to work correctly and not cause the memory leak warning.

Concretely, we probably either need to keep only one handler for the Node environment and use whichever the last initialised QUnit instance was from the same shared lexical scope (or global), or to properly remove the lister after each run, and re-add it on restart.

Krinkle avatar May 01 '22 03:05 Krinkle