Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/driangle/taskmd
/ setupMockSource
Function
setupMockSource
apps/cli/internal/sync/engine_test.go:26–28 ·
view source on GitHub ↗
(name string, tasks []ExternalTask)
Source
from the content-addressed store, hash-verified
24
}
25
26
func
setupMockSource(name string, tasks []ExternalTask) {
27
Register(&mockSource{name: name, tasks: tasks})
28
}
29
30
func
cleanupRegistry(name string) {
31
Unregister(name)
Callers
15
TestRunImport_CreatesNewTasks
Function · 0.85
TestRunImport_DryRun
Function · 0.85
TestRunImport_DuplicateDetection
Function · 0.85
TestRunImport_SequentialIDs
Function · 0.85
TestRunImport_IDsRespectExisting
Function · 0.85
TestRunImport_FieldMapping
Function · 0.85
TestRunImport_SourceURLInBody
Function · 0.85
TestRunImport_EmptyResult
Function · 0.85
TestRunImport_NonJiraUsesDefaultFieldMap
Function · 0.85
TestEngine_CreateNewTasks
Function · 0.85
TestEngine_Idempotent
Function · 0.85
TestEngine_ConflictOnLocalChange
Function · 0.85
Calls
1
Register
Function · 0.85
Tested by
no test coverage detected