Filter Jasmine frames from stack traces

[Finishes #2644992]
This commit is contained in:
Steve Gravrock
2017-11-08 22:44:29 -08:00
parent 59ad217954
commit 5906a2c05c
8 changed files with 557 additions and 10 deletions

View File

@@ -91,6 +91,13 @@ describe("jasmineUnderTest.util", function() {
expect(jasmineUnderTest.util.objectDifference(a, b)).toEqual({x: 1});
expect(jasmineUnderTest.util.objectDifference(b, a)).toEqual({y: 2});
})
})
});
});
describe("jasmineFile", function() {
it("returns the file containing jasmine.util", function() {
expect(jasmineUnderTest.util.jasmineFile()).toMatch(/util.js$/);
expect(jasmine.util.jasmineFile()).toMatch(/jasmine.js$/);
});
});
});