14 lines
302 B
JavaScript
14 lines
302 B
JavaScript
|
(function() {
|
||
|
if (parent != window && window.QUnit) {
|
||
|
QUnit.done = function(data) {
|
||
|
if (window.__$coverObject) {
|
||
|
parent.TestRunner.addCoverObject(window.__$coverObject);
|
||
|
}
|
||
|
|
||
|
if (parent.TestRunner) {
|
||
|
parent.TestRunner.done(data.failed, data.total, document.title);
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
})();
|