fix rendering/UI for ./scripts/test.sh --dev

This commit is contained in:
Johannes 2022-10-04 14:51:58 +02:00
parent 14d1b6f79e
commit 15b8f56574
No known key found for this signature in database
GPG Key ID: 6DEF802A22264FCA

View File

@ -298,7 +298,7 @@ function runTests(opts) {
mocha.grep(opts.grep);
}
if (!opts.debug) {
if (!opts.dev) {
mocha.reporter(IPCReporter);
}
@ -308,7 +308,7 @@ function runTests(opts) {
});
});
if (opts.debug) {
if (opts.dev) {
runner.on('fail', (test, err) => {
console.error(test.fullTitle());