Instead of dev boot use a custom helper to defined j$
This commit is contained in:
parent
fb853ad5b5
commit
305bd73142
7
spec/helpers/defineJasmineUnderTest.js
Normal file
7
spec/helpers/defineJasmineUnderTest.js
Normal file
@@ -0,0 +1,7 @@
|
||||
(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.j$ = jasmineRequire.core(jasmineRequire);
|
||||
jasmineRequire.html(j$);
|
||||
jasmineRequire.console(jasmineRequire, j$);
|
||||
})();
|
||||
Reference in New Issue
Block a user