Add tests for error handling in backup, notification, and proxy host handlers; enhance certificate service with persistence tests; refactor backup service for scheduled backups; improve frontend form handling and add API tests for certificates, domains, and proxy hosts; implement frontend test coverage script.

This commit is contained in:
Wikid82
2025-11-24 03:52:37 +00:00
parent b0f5466967
commit 9f54438955
17 changed files with 670 additions and 294 deletions

View File

@@ -50,9 +50,10 @@ repos:
language: system
files: '^frontend/.*\.(ts|tsx|js|jsx)$'
pass_filenames: false
- id: frontend-test
name: Frontend Tests
entry: bash -c 'cd frontend && npm test -- --run'
language: system
- id: frontend-test-coverage
name: Frontend Test Coverage
entry: scripts/frontend-test-coverage.sh
language: script
files: '^frontend/.*\.(ts|tsx|js|jsx)$'
pass_filenames: false
verbose: true