MCPcopy Create free account
hub / github.com/Facets-cloud/flow / seedTask

Function seedTask

internal/app/do_test.go:79–84  ·  view source on GitHub ↗

seedTask creates a minimal task row (floating, workspace work_dir).

(t *testing.T, slug string)

Source from the content-addressed store, hash-verified

77 oldOverride := spawner.Override
78 spawner.Override = spawner.BackendITerm
79 t.Cleanup(func() { spawner.Override = oldOverride })
80
81 return &count, func() string {
82 mu.Lock()
83 defer mu.Unlock()
84 return lastScript
85 }
86}
87

Calls 1

cmdAddFunction · 0.85

Tested by

no test coverage detected