Skip to content

Commit 9a23684

Browse files
authored
fix: Act on allowSentryBreadcrumbs when appropriate (#3037)
The included test, to check for a breadcrumb category starting with "sentry", was improperly written.
1 parent 0a2bfdb commit 9a23684

File tree

1 file changed

+1
-1
lines changed
  • packages/browser/test/integration/common

1 file changed

+1
-1
lines changed

packages/browser/test/integration/common/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function initSDK() {
4343

4444
// One of the tests use manually created breadcrumb without eventId and we want to let it through
4545
if (
46-
breadcrumb.category.indexOf("sentry" === 0) &&
46+
breadcrumb.category.indexOf("sentry") === 0 &&
4747
breadcrumb.event_id &&
4848
!window.allowSentryBreadcrumbs
4949
) {

0 commit comments

Comments
 (0)