DEV: adds module debugging to js tests (#7751)

This commit is contained in:
Joffrey JAFFEUX 2019-06-11 23:14:42 +02:00 committed by GitHub
parent 3d7c26c15e
commit cb08d3cc26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;