test: imports basic tests, all passing.

This commit is contained in:
Houmgaor
2025-11-09 12:36:56 +01:00
parent 33a195b864
commit c8c0dae8fe
11 changed files with 1298 additions and 5 deletions

View File

@@ -39,6 +39,12 @@ var commands map[string]config.Command
func init() {
commands = make(map[string]config.Command)
// Skip initialization if config is not loaded (e.g., during tests)
if config.ErupeConfig == nil {
return
}
zapConfig := zap.NewDevelopmentConfig()
zapConfig.DisableCaller = true
zapLogger, _ := zapConfig.Build()