refactor: strip residual R-number test descriptions + Lazar URL from ADR-013
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { describe, it, expect, vi } from "vitest";
|
||||
import * as Sentry from "@sentry/nextjs";
|
||||
|
||||
describe("setup/no-instrumentation guard (R49)", () => {
|
||||
describe("setup/no-instrumentation guard", () => {
|
||||
it("Sentry.init is a vi.fn (mocked, not real)", () => {
|
||||
expect(vi.isMockFunction(Sentry.init)).toBe(true);
|
||||
});
|
||||
@@ -11,6 +11,10 @@ describe("setup/no-instrumentation guard (R49)", () => {
|
||||
});
|
||||
|
||||
it("calling Sentry.init does not throw or initialize", () => {
|
||||
expect(() => Sentry.init({ dsn: "https://x@y/1" } as Parameters<typeof Sentry.init>[0])).not.toThrow();
|
||||
expect(() =>
|
||||
Sentry.init({ dsn: "https://x@y/1" } as Parameters<
|
||||
typeof Sentry.init
|
||||
>[0]),
|
||||
).not.toThrow();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user