Skip to content

Commit 1503084

Browse files
temp for screen-share
1 parent 321ef71 commit 1503084

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/tools/fixtures/process_resource_script.in.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ async function main() {
2222
process.send({ beforeExitCode: code });
2323
});
2424
const originalReport = process.report.getReport().libuv;
25-
await run({ MongoClient, uri, fs, sinon });
25+
const mongoClient = await run({ MongoClient, uri, fs, sinon });
26+
const intermediateReport = process.report.getReport().libuv;
27+
await mongoClient.close();
2628
const finalReport = process.report.getReport().libuv;
27-
process.send({originalReport, finalReport});
29+
process.send({originalReport, intermediateReport, finalReport});
2830
}
2931

3032
main()

0 commit comments

Comments
 (0)