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:
Gerg
2014-10-05 14:33:40 -07:00
parent b12974db2e
commit a5cd2731b4

View File

@@ -201,11 +201,9 @@ describe("JsApiReporter", function() {
expect(reporter.suiteResults(1, 1)).toEqual([suiteResult2]);
});
describe("when the results do not exist", function() {
it("should return a slice of shorter length", function() {
expect(reporter.suiteResults(0, 3)).toEqual([suiteResult1, suiteResult2]);
expect(reporter.suiteResults(2, 3)).toEqual([]);
});
it("returns nothing for out of bounds indicies", function() {
expect(reporter.suiteResults(0, 3)).toEqual([suiteResult1, suiteResult2]);
expect(reporter.suiteResults(2, 3)).toEqual([]);
});
});