Skip to content

Commit 9ee864c

Browse files
committed
test: Update broken XHR instrumentation test
1 parent 498eec5 commit 9ee864c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,11 @@ describe("breadcrumbs", function() {
6363
"//" +
6464
document.location.hostname +
6565
(document.location.port ? ":" + document.location.port : "") +
66-
"/api/1/store/";
66+
"/api/1/store/" +
67+
"?sentry_key=1337";
6768

6869
var xhr = new XMLHttpRequest();
69-
xhr.open("GET", store);
70+
xhr.open("POST", store);
7071
xhr.send('{"message":"someMessage","level":"warning"}');
7172
waitForXHR(xhr, function() {
7273
Sentry.captureMessage("test");

0 commit comments

Comments
 (0)