This is motivated by the last remaining build warning from Rollup:
src/qunit.js → qunit/qunit.js...
(!) Circular dependency
src/test.js -> src/core/processing-queue.js -> src/test.js
created qunit/qunit.js in 2s
ProcessingQueue needs access to the test function defined in test.js.
Fix by turning the module into a class, that we create a singleton of in core.js (with access to test.js) and then use that singleton where we previously used ProcessingQueue statically.
This is motivated by the last remaining build warning from Rollup:
ProcessingQueue needs access to the
test
function defined in test.js.Fix by turning the module into a class, that we create a singleton of in core.js (with access to test.js) and then use that singleton where we previously used ProcessingQueue statically.