diff --git a/src/entry.respawn.test.ts b/src/entry.respawn.test.ts index a8dd88da965..10ddb6ea64e 100644 --- a/src/entry.respawn.test.ts +++ b/src/entry.respawn.test.ts @@ -13,7 +13,7 @@ import { type CliRespawnPlan = NonNullable>; function expectCliRespawnPlan(plan: ReturnType): CliRespawnPlan { - expect(plan).toEqual(expect.any(Object)); + expect(plan).not.toBeNull(); if (plan === null) { throw new Error("Expected CLI respawn plan"); }