MCPcopy Create free account
hub / github.com/code-pushup/cli / stopServer

Function stopServer

e2e/plugin-axe-e2e/mocks/fixtures/auth/server/server.ts:90–100  ·  view source on GitHub ↗
(server: Server)

Source from the content-addressed store, hash-verified

88}
89
90export function stopServer(server: Server): Promise<void> {
91 return new Promise((resolve, reject) => {
92 server.close(err => {
93 if (err) {
94 reject(err);
95 } else {
96 resolve();
97 }
98 });
99 });
100}

Callers 1

auth.e2e.test.tsFile · 0.85

Calls 2

resolveFunction · 0.85
closeMethod · 0.45

Tested by

no test coverage detected