Skip to content

Commit

Permalink
test: fixing the examples that are run by cypress and fail
Browse files Browse the repository at this point in the history
  • Loading branch information
grisha87 committed Nov 20, 2023
1 parent 4c537d9 commit bad5996
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ <h3>Logs</h3>
})
.catch((e) => logger.error(e));

await executor.shutdown();
await executor.end();
if (result?.data) setResponse(result.data);
}
window.run = run;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
appendResults(JSON.stringify(output.data.output, null, "\t"));
})
.catch((e) => logger.error(e));
await executor.shutdown();
await executor.end();
}
document.getElementById("echo").onclick = run;
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function run() {
.run(async (ctx) => appendResults((await ctx.run("echo 'Hello World'")).stdout))
.catch((e) => logger.error(e));

await executor.shutdown();
await executor.end();
}

document.getElementById("echo").onclick = run;
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h3>Logs</h3>
await executor
.run(async (ctx) => appendResults((await ctx.run("echo 'Hello World'")).stdout))
.catch((e) => logger.error(e));
await executor.shutdown();
await executor.end();
}
document.getElementById("echo").onclick = run;
</script>
Expand Down

0 comments on commit bad5996

Please sign in to comment.