@@ -18,9 +18,7 @@ test("Quota loads independently and retains its RPC ID and nullable status", asy
|
||||
location: { directory: "/fixture" },
|
||||
integration: {
|
||||
connection: {
|
||||
async active() {
|
||||
return undefined;
|
||||
},
|
||||
async active() {},
|
||||
},
|
||||
},
|
||||
event: {
|
||||
@@ -56,7 +54,7 @@ test("Quota loads independently and retains its RPC ID and nullable status", asy
|
||||
) => ReturnType<typeof quota.setup>;
|
||||
const cleanup = await setup(context);
|
||||
expect(quota.id).toBe("stanp-opencode.quota");
|
||||
expect(await status!()).toBeNull();
|
||||
expect(await status?.()).toBeNull();
|
||||
expect(modelHook).toBe(true);
|
||||
if (cleanup) await cleanup();
|
||||
expect(disposed).toBe(true);
|
||||
|
||||
Reference in New Issue
Block a user