Setup test logging

This commit is contained in:
2024-12-19 23:42:19 +01:00
parent cf2e1809a4
commit f0b6aa0d6e
20 changed files with 33 additions and 9 deletions

View File

@@ -5,6 +5,8 @@ import (
"novamd/internal/storage"
"path/filepath"
"testing"
_ "novamd/internal/testenv"
)
// TestFileNode ensures FileNode structs are created correctly

View File

@@ -5,6 +5,8 @@ import (
"io/fs"
"path/filepath"
"time"
_ "novamd/internal/testenv"
)
type mockDirEntry struct {

View File

@@ -6,6 +6,7 @@ import (
"novamd/internal/git"
"novamd/internal/storage"
_ "novamd/internal/testenv"
)
// MockGitClient implements git.Client interface for testing

View File

@@ -7,6 +7,7 @@ import (
"testing"
"novamd/internal/storage"
_ "novamd/internal/testenv"
)
func TestValidatePath(t *testing.T) {