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