Skip to content

Commit 79a5d70

Browse files
author
Lasim
committed
Add unit tests for Global Settings module and related types
- Implement tests for GlobalSettingsInitService covering methods like getAllSettings, getSettingsByGroup, loadSettingsDefinitions, and configuration getters. - Create tests for settings modules including SMTP, GitHub OAuth, and Global settings to validate structure, required settings, and descriptions. - Introduce type validation tests for GlobalSettingType, GlobalSettingDefinition, GlobalSettingGroup, GlobalSettingsModule, SmtpConfig, GitHubOAuthConfig, GlobalConfig, ValidationResult, and InitializationResult. - Ensure cross-module validation for unique group IDs and setting keys, consistent sort order, and appropriate default values.
1 parent 69580fb commit 79a5d70

File tree

166 files changed

+27294
-7508
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+27294
-7508
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,14 @@ fastly-events.log
5656
deploystack.db
5757
services/backend/persistent_data/*
5858

59+
# Test files
60+
services/backend/tests/.test-context.json
61+
services/backend/tests/e2e/test-data/*.db
62+
5963
._*.ts
6064
._*.vue
6165
._*.md
6266
._*.js
6367
._*.json
6468
cookies.txt
69+
cookiejar.txt

0 commit comments

Comments
 (0)