We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1d38ff commit b69a114Copy full SHA for b69a114
tests/unit/toolBase.test.ts
@@ -15,11 +15,7 @@ import type { Server } from "../../src/server.js";
15
import type { TelemetryToolMetadata, ToolEvent } from "../../src/telemetry/types.js";
16
import type { PreviewFeature } from "../../src/common/schemas.js";
17
import { UIRegistry } from "../../src/ui/registry/index.js";
18
-
19
-function expectDefined<T>(arg: T): asserts arg is Exclude<T, undefined | null> {
20
- expect(arg).toBeDefined();
21
- expect(arg).not.toBeNull();
22
-}
+import { expectDefined } from "../integration/helpers.js";
23
24
describe("ToolBase", () => {
25
let mockSession: Session;
0 commit comments