Commit 79a5d70
Lasim
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- services
- backend
- drizzle/migrations_sqlite
- meta
- scripts
- src
- db
- email
- templates
- layouts
- fastify/plugins
- global-settings
- lib
- plugin-system
- plugins/example-plugin
- routes
- auth
- db
- globalSettings
- users
- services
- types
- utils
- tests
- e2e
- test-data
- unit
- db
- email
- fastify
- config
- hooks
- plugins
- global-settings
- hooks
- plugin-system
- frontend
- src
- assets
- components
- settings
- ui
- button
- card
- form
- input
- label
- separator
- sheet
- sidebar
- skeleton
- switch
- tooltip
- i18n/locales/en
- router
- services
- views
- admin
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| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
59 | 63 | | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
| 69 | + | |
0 commit comments