mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-25 10:19:30 -05:00
3fb1bc755a
* 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
8 lines
293 B
TypeScript
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,
|
|
}
|