feat: add announce delivery mode for automation runs
This commit is contained in:
@@ -1059,6 +1059,16 @@ describe('configSchema automation', () => {
|
||||
expect(result.automation.delivery_mode).toBe('isolated_job');
|
||||
});
|
||||
|
||||
it('accepts announce automation delivery mode', () => {
|
||||
const result = configSchema.parse({
|
||||
...baseConfig,
|
||||
automation: {
|
||||
delivery_mode: 'announce',
|
||||
},
|
||||
});
|
||||
expect(result.automation.delivery_mode).toBe('announce');
|
||||
});
|
||||
|
||||
it('accepts config with cron jobs', () => {
|
||||
const result = configSchema.parse({
|
||||
...baseConfig,
|
||||
|
||||
Reference in New Issue
Block a user