fix hmr test errors

This commit is contained in:
2026-07-16 09:24:21 -04:00
parent bf42426c0b
commit 13a60a90a1
3 changed files with 6 additions and 6 deletions

View File

@@ -82,7 +82,7 @@ setTimeout(() => {
}, 0);
`)
eps, err := loadVendorManifest(filepath.Join(frontendAbs, "vendor"))
eps, err := loadVendorManifest([]string{filepath.Join(frontendAbs, "vendor")})
if err != nil {
t.Fatalf("vendor manifest: %v", err)
}
@@ -90,7 +90,7 @@ setTimeout(() => {
hub: newHub(),
frontend: frontendAbs,
srcRoot: tmpSrc,
vendor: filepath.Join(frontendAbs, "vendor"),
vendorDirs: []string{filepath.Join(frontendAbs, "vendor")},
graph: newModuleGraph(),
vendorCache: map[string][]byte{},
cssTrigger: make(chan struct{}, 1),