Move from global to Env
This commit is contained in:
@@ -41,7 +41,7 @@ describe("ExceptionFormatter", function() {
|
||||
|
||||
describe("#stack", function() {
|
||||
it("formats stack traces from Webkit, Firefox, node.js or IE10+", function() {
|
||||
if (jasmine.getGlobal().ieVersion < 10) { return; }
|
||||
if (jasmine.getEnv().ieVersion < 10) { return; }
|
||||
|
||||
var error;
|
||||
try { throw new Error("an error") } catch(e) { error = e; }
|
||||
@@ -53,4 +53,4 @@ describe("ExceptionFormatter", function() {
|
||||
expect(new j$.ExceptionFormatter().stack()).toBeNull();
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user