Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestHelper ¶
type TestHelper struct { // Test directories TempDir string LogseqDir string JournalsDir string ConfigPath string // Original environment state OriginalEditor string OriginalHome string // contains filtered or unexported fields }
TestHelper contains common utilities for integration tests
func NewTestHelper ¶
func NewTestHelper(t *testing.T) *TestHelper
NewTestHelper creates and initializes a new test helper
func (*TestHelper) AssertFileExists ¶
func (h *TestHelper) AssertFileExists(path string, expectedContent string)
AssertFileExists checks if a file exists and contains expected content
func (*TestHelper) Cleanup ¶
func (h *TestHelper) Cleanup()
Cleanup restores the original environment state
Click to show internal directories.
Click to hide internal directories.