Fixes CI for IE8
For some reason, when you put this spec in a describe block, it causes specs to hang on IE8. I tried to debug this for a while, and I have no idea what is happening. [#79533268]
This commit is contained in:
@@ -201,11 +201,9 @@ describe("JsApiReporter", function() {
|
|||||||
expect(reporter.suiteResults(1, 1)).toEqual([suiteResult2]);
|
expect(reporter.suiteResults(1, 1)).toEqual([suiteResult2]);
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("when the results do not exist", function() {
|
it("returns nothing for out of bounds indicies", function() {
|
||||||
it("should return a slice of shorter length", function() {
|
expect(reporter.suiteResults(0, 3)).toEqual([suiteResult1, suiteResult2]);
|
||||||
expect(reporter.suiteResults(0, 3)).toEqual([suiteResult1, suiteResult2]);
|
expect(reporter.suiteResults(2, 3)).toEqual([]);
|
||||||
expect(reporter.suiteResults(2, 3)).toEqual([]);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user