fix(automation): enable real OS automation for development mode

This commit is contained in:
2025-11-22 18:30:32 +01:00
parent 84800c663a
commit 73aaeb8b35
2 changed files with 5 additions and 4 deletions

View File

@@ -52,13 +52,13 @@ describe('AutomationConfig', () => {
expect(mode).toBe('test');
});
it('should return test mode when NODE_ENV=development', () => {
it('should return production mode when NODE_ENV=development', () => {
process.env.NODE_ENV = 'development';
delete process.env.AUTOMATION_MODE;
const mode = getAutomationMode();
expect(mode).toBe('test');
expect(mode).toBe('production');
});
});