Elffuss BraidHub

kikocis/continue public

main · 486 BRawPermalink
1import { describe, expect, it } from "vitest";
2
3describe("Process SIGINT handling functions", () => {
4 it("exports the necessary functions for exit message handling", async () => {
5 const indexModule = await import("../index.js");
6
7 // Verify the functions exist
8 expect(typeof indexModule.shouldShowExitMessage).toBe("function");
9 expect(typeof indexModule.setExitMessageCallback).toBe("function");
10 expect(typeof indexModule.setTUIUnmount).toBe("function");
11 });
12});