From e03cbbc97733966f1b49ff79a49a6917bf563a40 Mon Sep 17 00:00:00 2001 From: Patrick Organ Date: Thu, 11 May 2023 21:06:32 -0400 Subject: [PATCH] update snapshots --- tests/__snapshots__/Ray.test.ts.snap | 350 --------------------------- 1 file changed, 350 deletions(-) diff --git a/tests/__snapshots__/Ray.test.ts.snap b/tests/__snapshots__/Ray.test.ts.snap index 60fff56..15c8b24 100644 --- a/tests/__snapshots__/Ray.test.ts.snap +++ b/tests/__snapshots__/Ray.test.ts.snap @@ -1441,356 +1441,6 @@ exports[`sends an event payload 1`] = ` ] `; -exports[`sends an exception payload 1`] = ` -[ - { - "meta": [], - "payloads": [ - { - "content": { - "class": "Error", - "frames": [ - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - ], - "message": "test", - "meta": {}, - }, - "origin": { - "file": "/test/file.js", - "function_name": "xxxx", - "hostname": "fake-hostname", - "line_number": 999, - }, - "type": "exception", - }, - ], - "uuid": "fakeUuid", - }, - { - "meta": [], - "payloads": [ - { - "content": { - "color": "red", - }, - "origin": { - "file": "/tests/Ray.test.ts", - "function_name": "xxxx", - "hostname": "fake-hostname", - "line_number": 999, - }, - "type": "color", - }, - ], - "uuid": "fakeUuid", - }, -] -`; - -exports[`sends an exception payload with metadata 1`] = ` -[ - { - "meta": [], - "payloads": [ - { - "content": { - "class": "Error", - "frames": [ - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - { - "class": "unknown", - "file_name": "", - "line_number": 999, - "method": "", - "snippet": [], - "vendor_frame": false, - }, - ], - "message": "test", - "meta": { - "one": 1, - "ten": 10, - "twentyThree": 23, - }, - }, - "origin": { - "file": "/test/file.js", - "function_name": "xxxx", - "hostname": "fake-hostname", - "line_number": 999, - }, - "type": "exception", - }, - ], - "uuid": "fakeUuid", - }, - { - "meta": [], - "payloads": [ - { - "content": { - "color": "red", - }, - "origin": { - "file": "/tests/Ray.test.ts", - "function_name": "xxxx", - "hostname": "fake-hostname", - "line_number": 999, - }, - "type": "color", - }, - ], - "uuid": "fakeUuid", - }, -] -`; - exports[`sends an html payload 1`] = ` [ {