• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cameri / nostream / 29475888092

16 Jul 2026 06:09AM UTC coverage: 68.718%. First build
29475888092

Pull #690

github

web-flow
Merge cc5c7b38e into 7d99a24bd
Pull Request #690: feat(admin): add authenticated settings API endpoints

2166 of 3511 branches covered (61.69%)

Branch coverage included in aggregate %.

324 of 364 new or added lines in 17 files covered. (89.01%)

4925 of 6808 relevant lines covered (72.34%)

23.25 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

77.78
/src/controllers/admin/post-settings-validate-controller.ts
1
import { Request, Response } from 'express'
2

3
import { IController } from '../../@types/controllers'
4
import { loadMergedSettings, validateSettings } from '../../utils/settings-config'
2✔
5

6
export class PostAdminSettingsValidateController implements IController {
2✔
7
  public async handleRequest(_request: Request, response: Response): Promise<void> {
8
    const issues = validateSettings(loadMergedSettings())
1✔
9

10
    if (issues.length === 0) {
1!
11
      response.status(200).setHeader('content-type', 'application/json').send({ valid: true, issues: [] })
1✔
12
      return
1✔
13
    }
14

NEW
15
    response.status(200).setHeader('content-type', 'application/json').send({ valid: false, issues })
×
16
  }
17
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc