mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-24 22:26:10 +03:00
move qunit.starTest log message to test.js
This commit is contained in:
parent
43de595c24
commit
f6c35b44ed
@ -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
|
||||
|
||||
|
@ -1,9 +1,6 @@
|
||||
/* global QUnit, $, testLog */
|
||||
|
||||
( function() {
|
||||
QUnit.testStart((details) => {
|
||||
console.log(`Starting test ${details.module}.${details.name}`);
|
||||
});
|
||||
|
||||
QUnit.module( 'Polyfills', {
|
||||
beforeEach: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user