fix(scripts): export assertReliabilityForcedExit for package update tests

#158491 imports it from two infra tests after #159362 made it module-local,
so the core test-types infra stripe failed on main with TS2459.
This commit is contained in:
Peter Steinberger 2026-09-28 00:40:42 -07:00
parent d09ffd2228
commit da2efd83b8

View file

@ -87,7 +87,10 @@ export async function waitForReliabilityWorkerExit(
});
}
function assertReliabilityForcedExit(exit: ReliabilityWorkerExit, workerLabel: string): void {
export function assertReliabilityForcedExit(
exit: ReliabilityWorkerExit,
workerLabel: string,
): void {
if (exit.code === 0) {
throw new Error(`${workerLabel} exited cleanly before forced termination.`);
}