MCPcopy
hub / github.com/mongodb/node-mongodb-native / main

Function main

test/tools/fixtures/process_resource_script.in.js:109–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107}
108
109async function main() {
110 originalReport = process.report.getReport().libuv;
111 process.on('beforeExit', () => {
112 log({ beforeExitHappened: true });
113 });
114 await run({
115 MongoClient,
116 uri,
117 log,
118 expect,
119 mongodb,
120 sleep,
121 getTimerCount,
122 getSockets,
123 getSocketEndpoints,
124 once
125 });
126 log({ newResources: getNewResources() });
127}
128
129main()
130 .then(() => null)

Callers 1

Calls 4

getNewResourcesFunction · 0.85
onMethod · 0.80
logFunction · 0.70
runFunction · 0.50

Tested by

no test coverage detected