File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
packages/browser/test/unit/tracekit Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 1
1
import { exceptionFromError } from '../../../src/eventbuilder' ;
2
2
import { defaultStackParser as parser } from '../../../src/stack-parsers' ;
3
3
4
- const a =
5
- 'Error\n' +
6
- ' at onClick (http://localhost:3002/(group)/script.js:1:644)\n' +
7
- ' at a (http://localhost:3002/[param]/script.js:1:644)\n' +
8
- ' at b (http://localhost:3002/[param]/(group)/script.js:1:644)\n' +
9
- ' at http://localhost:3002/[param]/script.js:1:644\n' +
10
- ' at http://localhost:3002/[param]/(group)/script.js:1:644\n' +
11
- ' at http://localhost:3002/(group)/script.js:1:644' ;
12
-
13
4
describe ( 'Tracekit - Chrome Tests' , ( ) => {
14
5
it ( 'should parse Chrome error with no location' , ( ) => {
15
6
const NO_LOCATION = { message : 'foo' , name : 'bar' , stack : 'error\n at Array.forEach (native)' } ;
You can’t perform that action at this time.
0 commit comments