Phase 1: Add ESLint/Prettier config + baseline auto-fixes
This commit is contained in:
@@ -47,7 +47,7 @@ describe('Config Routes', () => {
|
||||
const validConfig = {
|
||||
tld: 'sami',
|
||||
theme: 'dark',
|
||||
timezone: 'America/New_York'
|
||||
timezone: 'America/New_York',
|
||||
};
|
||||
|
||||
const res = await request(app)
|
||||
@@ -76,7 +76,7 @@ describe('Config Routes', () => {
|
||||
test('should return 400 for config with invalid field values', async () => {
|
||||
const invalidConfig = {
|
||||
tld: 123, // tld must be a string
|
||||
dns: 'not-an-object' // dns must be an object
|
||||
dns: 'not-an-object', // dns must be an object
|
||||
};
|
||||
|
||||
const res = await request(app)
|
||||
|
||||
Reference in New Issue
Block a user