Skip failing windows test (#332)

This commit is contained in:
Will Chen
2025-06-04 10:31:13 -07:00
committed by GitHub
parent 69b0e7aba2
commit e91a9c44fa
11 changed files with 28 additions and 24 deletions

View File

@@ -536,7 +536,11 @@ export const test = base.extend<{
// Windows' strict resource locking (e.g. file locking).
if (os.platform() === "win32") {
try {
execSync("taskkill /f /im dyad.exe");
console.log("[cleanup:start] Killing dyad.exe");
console.time("taskkill");
execSync("taskkill /f /t /im dyad.exe");
console.timeEnd("taskkill");
console.log("[cleanup:end] Killed dyad.exe");
} catch (error) {
console.warn(
"Failed to kill dyad.exe: (continuing with test cleanup)",