Skip to content

Commit f7cb92f

Browse files
committed
test: update status management test for auto mode service
- Modified the test to check that runningCount is 0 when no features are running, ensuring accurate status reporting.
1 parent b403d0d commit f7cb92f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/server/tests/unit/services/auto-mode-service-planning.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,9 @@ describe("auto-mode-service.ts - Planning Mode", () => {
324324
describe("status management", () => {
325325
it("should report correct status", () => {
326326
const status = service.getStatus();
327-
expect(status.autoLoopRunning).toBe(false);
328327
expect(status.runningFeatures).toEqual([]);
329328
expect(status.isRunning).toBe(false);
329+
expect(status.runningCount).toBe(0);
330330
});
331331
});
332332
});

0 commit comments

Comments
 (0)