In Jasmine's own tests, don't leak between jasmine and jasmineUnderTest
This commit is contained in:
@@ -34,7 +34,7 @@ var getJasmineRequireObj = (function (jasmineGlobal) {
|
||||
if (typeof window !== 'undefined' && typeof window.toString === 'function' && window.toString() === '[object GjsGlobal]') {
|
||||
jasmineGlobal = window;
|
||||
}
|
||||
jasmineRequire = jasmineGlobal.jasmineRequire = jasmineGlobal.jasmineRequire || {};
|
||||
jasmineRequire = jasmineGlobal.jasmineRequire = {};
|
||||
}
|
||||
|
||||
function getJasmineRequire() {
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
src_dir:
|
||||
- 'src'
|
||||
src_files:
|
||||
- 'core/requireCore.js'
|
||||
- 'core/base.js'
|
||||
- 'core/util.js'
|
||||
#end of known dependencies
|
||||
|
||||
@@ -12,7 +12,7 @@ var getJasmineRequireObj = (function (jasmineGlobal) {
|
||||
if (typeof window !== 'undefined' && typeof window.toString === 'function' && window.toString() === '[object GjsGlobal]') {
|
||||
jasmineGlobal = window;
|
||||
}
|
||||
jasmineRequire = jasmineGlobal.jasmineRequire = jasmineGlobal.jasmineRequire || {};
|
||||
jasmineRequire = jasmineGlobal.jasmineRequire = {};
|
||||
}
|
||||
|
||||
function getJasmineRequire() {
|
||||
|
||||
Reference in New Issue
Block a user