fix(ci): run fs-safe removal Windows coverage (#116510)

* test(ci): run fs-safe remove suite on Windows

* test(infra): correct Windows rebind race expectation

* test(infra): exercise Windows rebind hook
This commit is contained in:
Vincent Koc
2026-07-31 09:58:34 +08:00
committed by GitHub
parent 88876f780b
commit d5ab7d7d03
5 changed files with 44 additions and 15 deletions
@@ -97,4 +97,16 @@ describe("detectChangedScope Windows routing", () => {
});
}
});
it("routes safe removal changes and Windows-only coverage to Windows", () => {
for (const safeRemovePath of [
"src/infra/fs-safe-remove.ts",
"src/infra/fs-safe-remove.test.ts",
]) {
expect(detectChangedScope([safeRemovePath]), safeRemovePath).toMatchObject({
runNode: true,
runWindows: true,
});
}
});
});