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 b245ba1 commit 070a8d2Copy full SHA for 070a8d2
tests/unit/toolBase.test.ts
@@ -159,10 +159,10 @@ describe("ToolBase", () => {
159
const event = ((mockTelemetry.emitEvents as Mock).mock.lastCall?.[0] as ToolEvent[])[0];
160
expectDefined(event);
161
expect(event.properties.result).to.equal("success");
162
+ expect(event.properties).toHaveProperty("test_param2");
163
expect(event.properties).not.toHaveProperty("project_id");
164
expect(event.properties).not.toHaveProperty("org_id");
165
expect(event.properties).not.toHaveProperty("atlas_local_deployment_id");
- expect(event.properties).not.toHaveProperty("test_param2");
166
});
167
168
it("should include custom telemetry metadata", async () => {
0 commit comments