Files
cypress/packages/server/lib/util/exit.ts
T
Bill Glesias 3fb1bc755a chore: convert print_run leaves to TypeScript (#33600)
* chore: update signal-exit from 3 to 4

* chore: convert exit to TypeScript

* chore: remove escape_regexp as it appears to be dead code

* chore: convert duration source code and test code to TypeScript

* chore: convert newlines source code to TypeScript

* chore: convert human time to TypeScript

* chore: convert ci_provider source and tests to TypeScript

* chore: convert ci_providers source and test to TypeScript
2026-04-14 12:01:01 -04:00

8 lines
293 B
TypeScript

import { onExit as onExitSignalExit } from 'signal-exit'
// NOTE: this is much easier to test with sinon.stub() as we can stub the export object
// while we convert to TypeScript. Once we migrate to vitest, we can import `signal-exit` directly.
export default {
ensure: onExitSignalExit,
}