Skip to content

Commit 50d0ff1

Browse files
committed
ref: Test format
1 parent 05e895b commit 50d0ff1

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

packages/browser/test/integration/karma.conf.js

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ module.exports = config => {
7373
"/base/variants/123": "/base/subjects/123",
7474
// Supresses warnings
7575
"/api/1/store/": "/",
76+
"/api/1/envelope/": "/",
7677
},
7778
frameworks: ["mocha", "chai", "sinon"],
7879
files,

packages/browser/test/integration/suites/breadcrumbs.js

+1-14
Original file line numberDiff line numberDiff line change
@@ -174,20 +174,7 @@ describe("breadcrumbs", function() {
174174
var xhr = new XMLHttpRequest();
175175
xhr.open("POST", envelope);
176176
xhr.send(
177-
`
178-
{
179-
"event_id": "aa3ff046696b4bc6b609ce6d28fde9e2",
180-
"sent_at": "2020-05-19T15:44:49.028Z"
181-
}
182-
{
183-
"type": "transaction"
184-
}
185-
{
186-
"message":"someMessage",
187-
"transaction":"wat",
188-
"level":"warning",
189-
}
190-
`.trim()
177+
'{"event_id": "aa3ff046696b4bc6b609ce6d28fde9e2","sent_at": "2020-05-19T15:44:49.028Z"}\n{"type": "transaction"}\n{"message":"someMessage","transaction":"wat","level":"warning"}'
191178
);
192179
waitForXHR(xhr, function() {
193180
Sentry.captureMessage("test");

0 commit comments

Comments
 (0)