MCPcopy
hub / github.com/blitz-js/blitz / stopApp

Function stopApp

integration-tests/utils/next-test-utils.ts:574–579  ·  view source on GitHub ↗
(server)

Source from the content-addressed store, hash-verified

572}
573
574export async function stopApp(server) {
575 if (server.__app) {
576 await server.__app.close()
577 }
578 await promiseCall(server, "close")
579}
580
581export function promiseCall(obj, method, ...args) {
582 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls 2

promiseCallFunction · 0.85
closeMethod · 0.45

Tested by

no test coverage detected