diff --git a/packages/browser/test/integration/common/init.js b/packages/browser/test/integration/common/init.js
index <HASH>..<HASH> 100644
--- a/packages/browser/test/integration/common/init.js
+++ b/packages/browser/test/integration/common/init.js
@@ -43,7 +43,7 @@ function initSDK() {
 
       // One of the tests use manually created breadcrumb without eventId and we want to let it through
       if (
-        breadcrumb.category.indexOf("sentry" === 0) &&
+        breadcrumb.category.indexOf("sentry") === 0 &&
         breadcrumb.event_id &&
         !window.allowSentryBreadcrumbs
       ) {
fix: Act on allowSentryBreadcrumbs when appropriate (#<I>)

The included test, to check for a breadcrumb category starting with "sentry", was improperly written.