Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
test(hosted-option): compare kinds in the type-safe direction
garrytan1f4618461fb1
diff --git a/test/hosted-option.test.ts b/test/hosted-option.test.tsindex 51e7e8ea03..f6cec1a0b8 100644--- a/test/hosted-option.test.ts+++ b/test/hosted-option.test.ts@@ -38,7 +38,7 @@ describe('hosted_option notice', () => {});test('the registry row matches the builder kind, so the code is muteable', () => {- expect(NOTICE_CODES.hosted_option.kind).toBe(hostedOptionNotice('setup', new Set())!.kind);+ expect(hostedOptionNotice('setup', new Set())!.kind).toBe(NOTICE_CODES.hosted_option.kind);expect(MUTEABLE_NOTICE_CODES).toContain('hosted_option');});