A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/stacktracejs/error-stack-parser/commit/a3bf972e399fd39222d97f4dc241a74cc483b4db below:

Remove duplicate test · stacktracejs/error-stack-parser@a3bf972 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+0

-12

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+0

-12

lines changed Original file line number Diff line number Diff line change

@@ -1,4 +1,3 @@

1 -

// jscs:disable maximumLineLength

2 1

/* global ErrorStackParser: false, CapturedExceptions: false */

3 2

describe('ErrorStackParser', function() {

4 3

describe('#parse', function() {

@@ -161,17 +160,6 @@ describe('ErrorStackParser', function() {

161 160

expect(stackFrames[4]).toMatchStackFrame(['Global code', undefined, 'http://localhost:8080/file.js', 32, 9]);

162 161

});

163 162 164 -

it('should parse nested eval() from V8', function() {

165 -

var stackFrames = unit.parse(CapturedExceptions.CHROME_48_NESTED_EVAL);

166 -

expect(stackFrames).toBeTruthy();

167 -

expect(stackFrames.length).toBe(5);

168 -

expect(stackFrames[0]).toMatchStackFrame(['baz', undefined, 'http://localhost:8080/file.js', 21, 17]);

169 -

expect(stackFrames[1]).toMatchStackFrame(['foo', undefined, 'http://localhost:8080/file.js', 21, 17]);

170 -

expect(stackFrames[2]).toMatchStackFrame(['eval', undefined, 'http://localhost:8080/file.js', 21, 17]);

171 -

expect(stackFrames[3]).toMatchStackFrame(['Object.speak', undefined, 'http://localhost:8080/file.js', 21, 17]);

172 -

expect(stackFrames[4]).toMatchStackFrame([undefined, undefined, 'http://localhost:8080/file.js', 31, 13]);

173 -

});

174 - 175 163

it('should parse Opera 9.27 Error messages', function() {

176 164

var stackFrames = unit.parse(CapturedExceptions.OPERA_927);

177 165

expect(stackFrames).toBeTruthy();

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4