Skip to content

Commit b69a114

Browse files
committed
fix: copilot feedback
1 parent a1d38ff commit b69a114

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/unit/toolBase.test.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@ import type { Server } from "../../src/server.js";
1515
import type { TelemetryToolMetadata, ToolEvent } from "../../src/telemetry/types.js";
1616
import type { PreviewFeature } from "../../src/common/schemas.js";
1717
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-
}
18+
import { expectDefined } from "../integration/helpers.js";
2319

2420
describe("ToolBase", () => {
2521
let mockSession: Session;

0 commit comments

Comments
 (0)