mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-30 06:12:03 +00:00
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.
This commit is contained in:
@@ -324,9 +324,9 @@ describe("auto-mode-service.ts - Planning Mode", () => {
|
||||
describe("status management", () => {
|
||||
it("should report correct status", () => {
|
||||
const status = service.getStatus();
|
||||
expect(status.autoLoopRunning).toBe(false);
|
||||
expect(status.runningFeatures).toEqual([]);
|
||||
expect(status.isRunning).toBe(false);
|
||||
expect(status.runningCount).toBe(0);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user