Skip to content

Commit 73150b9

Browse files
chore(test): remove no-effect biome-ignore comments in event.test.ts
The noExplicitAny rule wasn't firing on these casts, so the suppressions produced 'has no effect' warnings. Harmless but noisy; removed. Co-authored-by: Alfonso [Magic Context] <288211368+alfonso-magic-context@users.noreply.github.com>
1 parent 4a00b7a commit 73150b9

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

packages/plugin/src/plugin/event.test.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ describe("createEventHandler — instance dispose cleanup", () => {
2121
});
2222

2323
await handler({
24-
// biome-ignore lint/suspicious/noExplicitAny: minimal event shape for the test
2524
event: {
2625
type: "server.instance.disposed",
2726
properties: { directory: "/proj/a" },
@@ -40,9 +39,7 @@ describe("createEventHandler — instance dispose cleanup", () => {
4039
},
4140
});
4241

43-
// biome-ignore lint/suspicious/noExplicitAny: minimal event shape for the test
4442
await handler({ event: { type: "message.updated", properties: {} } as any });
45-
// biome-ignore lint/suspicious/noExplicitAny: minimal event shape for the test
4643
await handler({ event: { type: "session.deleted", properties: {} } as any });
4744

4845
expect(fired).toBe(false);
@@ -59,7 +56,6 @@ describe("createEventHandler — instance dispose cleanup", () => {
5956
// Must resolve, not reject.
6057
await expect(
6158
handler({
62-
// biome-ignore lint/suspicious/noExplicitAny: minimal event shape for the test
6359
event: {
6460
type: "server.instance.disposed",
6561
properties: { directory: "/proj/b" },
@@ -81,7 +77,6 @@ describe("createEventHandler — instance dispose cleanup", () => {
8177
},
8278
});
8379

84-
// biome-ignore lint/suspicious/noExplicitAny: minimal event shape for the test
8580
await handler({ event: { type: "message.updated", properties: {} } as any });
8681

8782
expect(seen).toEqual(["au:message.updated", "mc:message.updated"]);

0 commit comments

Comments
 (0)