mirror of
https://github.com/zulip/zulip.git
synced 2025-10-25 00:53:56 +00:00
tests: Remove deprecated Sentry.addTracingExtensions() call.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
9b7a4c89ec
commit
b020d5e2e8
@@ -5,7 +5,6 @@ const path = require("node:path");
|
|||||||
|
|
||||||
require("css.escape");
|
require("css.escape");
|
||||||
require("handlebars/runtime");
|
require("handlebars/runtime");
|
||||||
const Sentry = require("@sentry/browser");
|
|
||||||
const {JSDOM} = require("jsdom");
|
const {JSDOM} = require("jsdom");
|
||||||
const _ = require("lodash");
|
const _ = require("lodash");
|
||||||
|
|
||||||
@@ -45,9 +44,6 @@ require("@babel/register")({
|
|||||||
root: path.resolve(__dirname, "../.."),
|
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.
|
// Create a helper function to avoid sneaky delays in tests.
|
||||||
function immediate(f) {
|
function immediate(f) {
|
||||||
return () => f();
|
return () => f();
|
||||||
|
|||||||
Reference in New Issue
Block a user