aleph.js
Denoのテストで下記のようにsubprocessを使って、コマンド実行結果をテストしようとした。 Deno.test({ name: "test name", fn: async () => { const p = Deno.run({ cmd: [ /*コマンド*/], stdout: "piped", }); const { code } = await p.status(); // 返…
Denoのテストで下記のようにsubprocessを使って、コマンド実行結果をテストしようとした。 Deno.test({ name: "test name", fn: async () => { const p = Deno.run({ cmd: [ /*コマンド*/], stdout: "piped", }); const { code } = await p.status(); // 返…