Files
jasmine/spec/helpers/defineJasmineUnderTest.js
2017-11-07 20:09:04 -08:00

7 lines
272 B
JavaScript

(function() {
// By the time onload is called, jasmineRequire will be redefined to point
// to the Jasmine source files (and not jasmine.js). So re-require
window.jasmineUnderTest = jasmineRequire.core(jasmineRequire);
jasmineRequire.html(jasmineUnderTest);
})();