You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Based on our own mapping pattern - https://github.com/getsentry/sentry/blob/9f08305e09866c8bd6d0c24f5b0aabdd7dd6c59c/src/sentry/lang/javascript/errormapping.py#L83-L108
it('should correctly parse production errors and drop initial frame if its not relevant',()=>{
357
+
constREACT_PRODUCTION_ERROR={
358
+
message:
359
+
'Minified React error #200; visit https://reactjs.org/docs/error-decoder.html?invariant=200 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.',
360
+
name: 'Error',
361
+
stack: `Error: Minified React error #200; visit https://reactjs.org/docs/error-decoder.html?invariant=200 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
362
+
at http://localhost:5000/static/js/foo.chunk.js:1:21738
363
+
at a (http://localhost:5000/static/js/foo.chunk.js:1:21841)
364
+
at ho (http://localhost:5000/static/js/foo.chunk.js:1:68735)
it('should not drop additional frame for production errors if framesToPop is still there',()=>{
403
+
constREACT_PRODUCTION_ERROR={
404
+
framesToPop: 1,
405
+
message:
406
+
'Minified React error #200; visit https://reactjs.org/docs/error-decoder.html?invariant=200 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.',
407
+
name: 'Error',
408
+
stack: `Error: Minified React error #200; visit https://reactjs.org/docs/error-decoder.html?invariant=200 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
409
+
at http://localhost:5000/static/js/foo.chunk.js:1:21738
410
+
at a (http://localhost:5000/static/js/foo.chunk.js:1:21841)
411
+
at ho (http://localhost:5000/static/js/foo.chunk.js:1:68735)
0 commit comments