setupEmptyGlobalRegistry points TASKMD_HOME_CONFIG to a non-existent file.
(t *testing.T)
| 27 | |
| 28 | // setupEmptyGlobalRegistry points TASKMD_HOME_CONFIG to a non-existent file. |
| 29 | func setupEmptyGlobalRegistry(t *testing.T) { |
| 30 | t.Helper() |
| 31 | configDir := t.TempDir() |
| 32 | t.Setenv("TASKMD_HOME_CONFIG", filepath.Join(configDir, "nonexistent.yaml")) |
| 33 | } |
| 34 | |
| 35 | // createProjectWithTasks creates a project directory with .taskmd.yaml and task files. |
| 36 | func createProjectWithTasks(t *testing.T, taskDir string, tasks map[string]string) string { |
no outgoing calls
no test coverage detected