mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 10:32:08 +08:00
DEV: adds module debugging to js tests (#7751)
This commit is contained in:
@ -215,6 +215,10 @@ function logQUnit() {
|
||||
|
||||
let durations = {};
|
||||
|
||||
QUnit.testStart(function(context) {
|
||||
console.log("\n" + context.module + "::" + context.name);
|
||||
});
|
||||
|
||||
QUnit.testDone(function(context) {
|
||||
durations[context.module + "::" + context.name] = context.runtime;
|
||||
|
||||
|
Reference in New Issue
Block a user