diff --git a/spec/core/StackTraceSpec.js b/spec/core/StackTraceSpec.js index 9ffa2c6b..b294bd6c 100644 --- a/spec/core/StackTraceSpec.js +++ b/spec/core/StackTraceSpec.js @@ -95,7 +95,7 @@ describe('StackTrace', function() { ]); }); - it('understands Safari <=14/Firefox/Phantom-OS X style traces', function() { + it('understands Safari <=14/Firefox style traces', function() { const error = { message: 'nope', stack: @@ -149,7 +149,7 @@ describe('StackTrace', function() { ]); }); - it('does not mistake gibberish for Safari/Firefox/Phantom-OS X style traces', function() { + it('does not mistake gibberish for Safari/Firefox style traces', function() { const error = { message: 'nope', stack: 'randomcharsnotincludingwhitespace' @@ -159,36 +159,6 @@ describe('StackTrace', function() { expect(result.frames).toEqual([{ raw: error.stack }]); }); - it('understands Phantom-Linux style traces', function() { - const error = { - message: 'nope', - stack: - ' at UserContext. (http://localhost:8888/__spec__/core/UtilSpec.js:115:19)\n' + - ' at QueueRunner.run (http://localhost:8888/__jasmine__/jasmine.js:4320:20)' - }; - - const result = new jasmineUnderTest.StackTrace(error); - - expect(result.message).toBeFalsy(); - expect(result.style).toEqual('v8'); - expect(result.frames).toEqual([ - { - raw: - ' at UserContext. (http://localhost:8888/__spec__/core/UtilSpec.js:115:19)', - func: 'UserContext.', - file: 'http://localhost:8888/__spec__/core/UtilSpec.js', - line: 115 - }, - { - raw: - ' at QueueRunner.run (http://localhost:8888/__jasmine__/jasmine.js:4320:20)', - func: 'QueueRunner.run', - file: 'http://localhost:8888/__jasmine__/jasmine.js', - line: 4320 - } - ]); - }); - it('ignores blank lines', function() { const error = { message: 'nope', @@ -241,7 +211,7 @@ describe('StackTrace', function() { ]); }); - it('consideres different types of errors', function() { + it('considers different types of errors', function() { const error = { message: 'nope', stack: