Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

tests: Remove deprecated Sentry.addTracingExtensions() call.

Anders Kaseorgb020d5e2e89a
diff --git a/web/tests/lib/index.js b/web/tests/lib/index.js
index 0b63d41416c..d93bf7d44c9 100644
--- a/web/tests/lib/index.js
+++ b/web/tests/lib/index.js
@@ -5,7 +5,6 @@ const path = require("node:path");
require("css.escape");
require("handlebars/runtime");
-const Sentry = require("@sentry/browser");
const {JSDOM} = require("jsdom");
const _ = require("lodash");
@@ -45,9 +44,6 @@ require("@babel/register")({
root: path.resolve(__dirname, "../.."),
});
-// Ensure that startTransaction and friends are available at runtime
-Sentry.addTracingExtensions();
-
// Create a helper function to avoid sneaky delays in tests.
function immediate(f) {
return () => f();