move qunit.starTest log message to test.js

This commit is contained in:
Tom 2024-01-19 12:54:24 -05:00
parent 43de595c24
commit f6c35b44ed
2 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* global $, Util */
/* global $, QUnit, Util */
(function () {
@ -149,6 +149,13 @@
},
};
// Log the name of the currently running test when it starts. Uses console.log rather than
// $.console.log so that the message is printed even after the $.console is diverted (see below).
// Uncomment this code to log which test is currently running. Useful for debugging.
QUnit.testStart((details) => {
console.log(`Starting test ${details.module}.${details.name}`);
});
/*
Test console log capture

View File

@ -1,9 +1,6 @@
/* global QUnit, $, testLog */
( function() {
QUnit.testStart((details) => {
console.log(`Starting test ${details.module}.${details.name}`);
});
QUnit.module( 'Polyfills', {
beforeEach: function() {