fix(automation): enable real OS automation for development mode
This commit is contained in:
@@ -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');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user