(t *testing.T)
| 393 | } |
| 394 | |
| 395 | func TestExport_CustomOutput(t *testing.T) { |
| 396 | taskDir := createTestTaskDir(t) |
| 397 | outDir := filepath.Join(t.TempDir(), "custom-dir", "nested") |
| 398 | |
| 399 | err := exportWithMockFS(t, ExportConfig{ |
| 400 | OutputDir: outDir, |
| 401 | ScanDir: taskDir, |
| 402 | BasePath: "/", |
| 403 | Version: "test", |
| 404 | }) |
| 405 | if err != nil { |
| 406 | t.Fatalf("Export failed: %v", err) |
| 407 | } |
| 408 | |
| 409 | // Verify output is in the custom directory |
| 410 | if _, err := os.Stat(filepath.Join(outDir, "index.html")); err != nil { |
| 411 | t.Error("expected index.html in custom output directory") |
| 412 | } |
| 413 | } |
| 414 | |
| 415 | func TestExport_GraphJSON(t *testing.T) { |
| 416 | taskDir := createTestTaskDir(t) |
nothing calls this directly
no test coverage detected