Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
Update test_ctx.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Matias Volpe <[email protected]>
  • Loading branch information
harrysolovay and kratico authored Oct 14, 2022
1 parent 4410d03 commit c07753c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test_ctx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ const cmdProcess = Deno.run({
TEST_CTX_PORT: listener.addr.port.toString(),
},
});
await cmdProcess.status();
const status = await cmdProcess.status();
cleanup();

Deno.exit(status.code);

async function useListener(listener: Deno.Listener, lookup: DevNets) {
for await (const conn of listener) {
useConn(conn);
Expand Down

0 comments on commit c07753c

Please sign in to comment.