[Testee] Stop on fail

Hello!

We currently have a testee setup (using Qunit) like:

const testPromise = testee.test([
‘test1.html’,
‘test2.html’,
‘test3.html’
]

And I would like to know if there’s any way to stop the testee execution if any of the tests fail.

I know that we can achieve it for a single QUnit suite with something like:

QUnit.testDone(function (details) {
if (details.failed > 0) {
QUnit.config.queue.length = 0;
}
});

But if I assign this to a single suite I assume that others will still run.
The main idea is to stop test execution as a whole.

Is it possible using testee configuration?

Thank you guys!