mirror of
https://github.com/discourse/discourse.git
synced 2025-08-20 18:52:44 +08:00
DEV: adds module debugging to js tests (#7751)
This commit is contained in:
parent
3d7c26c15e
commit
cb08d3cc26
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue