murstrekalov.saga-core.1.5.5.source-code.completion_monitor.js Maven / Gradle / Ivy
The newest version!
(function () {
// lazily create a namespace
var saga = window.__saga = window.__saga || {};
if (!saga.completed) {
saga.completed = function() {
function detectJasmineCompletion() {
return (window.reporter && window.reporter.finished) ||
(window.jsApiReporter && window.jsApiReporter.finished);
}
// this space reserved for detecting completeness for other frameworks
// make sure we return true/false rather than truthy/falsy
return Boolean(detectJasmineCompletion());
}
}
})();