Phase 1: Add ESLint/Prettier config + baseline auto-fixes
This commit is contained in:
@@ -72,8 +72,8 @@ describe('Notification Routes', () => {
|
||||
.send({
|
||||
events: {
|
||||
containerDown: true,
|
||||
containerUp: false
|
||||
}
|
||||
containerUp: false,
|
||||
},
|
||||
});
|
||||
|
||||
expect(res.statusCode).toBe(200);
|
||||
@@ -87,9 +87,9 @@ describe('Notification Routes', () => {
|
||||
providers: {
|
||||
discord: {
|
||||
enabled: true,
|
||||
webhookUrl: 'not-a-valid-url'
|
||||
}
|
||||
}
|
||||
webhookUrl: 'not-a-valid-url',
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
expect(res.statusCode).toBe(400);
|
||||
@@ -102,9 +102,9 @@ describe('Notification Routes', () => {
|
||||
providers: {
|
||||
ntfy: {
|
||||
enabled: true,
|
||||
topic: 'invalid topic with spaces!!!'
|
||||
}
|
||||
}
|
||||
topic: 'invalid topic with spaces!!!',
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
expect(res.statusCode).toBe(400);
|
||||
|
||||
Reference in New Issue
Block a user