MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / stop

Method stop

e2e/fixtures/fixture-server.js:104–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102 }
103 // Stop the fixture server
104 async stop() {
105 if (!this._server) {
106 return;
107 }
108
109 await new Promise((resolve, reject) => {
110 console.log('Stopping fixture server...');
111 this._server.close();
112 this._server.once('error', reject);
113 this._server.once('close', resolve);
114 this._server = undefined;
115 });
116 }
117 // Load JSON state into the server
118 loadJsonState(rawState, contractRegistry) {
119 console.log('Loading JSON state...');

Callers 7

index.jsFile · 0.80
index.jsFile · 0.80
handleAppStateFunction · 0.80
stopFixtureServerFunction · 0.80

Calls 2

closeMethod · 0.80
logMethod · 0.45

Tested by

no test coverage detected