Skip to content
Source
Sign inSign up
samwillis/one-million-boxes
Open History to see the last commit

test-server.ts

8 lines293 Bytes

1import { startTestStack } from "./test-stack"
2​
3const stack = await startTestStack(true)
4console.log("Disposable browser-test stack: http://127.0.0.1:5174")
5for (const signal of ["SIGINT", "SIGTERM"] as const)
6 process.on(signal, () => {
7 void stack.stop().then(() => process.exit(0))
8 })