Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
test(review-lists): type the refusal
garrytanbc59942f6def
diff --git a/test/review-lists.test.ts b/test/review-lists.test.tsindex b3d2c67543..d9ba9253e3 100644--- a/test/review-lists.test.ts+++ b/test/review-lists.test.ts@@ -197,7 +197,7 @@ describe('extraction_pending review lists', () => {});test('an unknown include is refused with the valid names', async () => {- const err = await pending.handler(ctx(), { include: ['everything'] }).catch(e => e);+ const err = await pending.handler(ctx(), { include: ['everything'] }).catch((e: unknown) => e) as OperationError;expect(err).toBeInstanceOf(OperationError);expect(String(err.message)).toContain('everything');});