Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

fix: pre-landing review fixes

garrytanabbdc88d39de
diff --git a/test/skillopt/loop-deprecation.serial.test.ts b/test/skillopt/loop-deprecation.serial.test.ts
index 1d4e2fb391..b29f06de7a 100644
--- a/test/skillopt/loop-deprecation.serial.test.ts
+++ b/test/skillopt/loop-deprecation.serial.test.ts
@@ -185,5 +185,6 @@ describe('background job handler', () => {
test('the cycle phase runs the one-shot rewrite and prints no notice', async () => {
await withEnv(ENV, () => runPhaseSkillopt({ engine, once: true }));
expect(stderr).not.toContain('skillopt_loop_deprecated');
+ expect(captured.length).toBeGreaterThan(0);
expect(captured.every((c) => c.optimizerMode === 'one-shot-rewrite')).toBe(true);
});