Skip to content

Commit 070a8d2

Browse files
committed
chore: update test to match
1 parent b245ba1 commit 070a8d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/toolBase.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,10 @@ describe("ToolBase", () => {
159159
const event = ((mockTelemetry.emitEvents as Mock).mock.lastCall?.[0] as ToolEvent[])[0];
160160
expectDefined(event);
161161
expect(event.properties.result).to.equal("success");
162+
expect(event.properties).toHaveProperty("test_param2");
162163
expect(event.properties).not.toHaveProperty("project_id");
163164
expect(event.properties).not.toHaveProperty("org_id");
164165
expect(event.properties).not.toHaveProperty("atlas_local_deployment_id");
165-
expect(event.properties).not.toHaveProperty("test_param2");
166166
});
167167

168168
it("should include custom telemetry metadata", async () => {

0 commit comments

Comments
 (0)