diff --git a/src/platform-deno.ts b/src/platform-deno.ts index 855190f..44b0703 100644 --- a/src/platform-deno.ts +++ b/src/platform-deno.ts @@ -13,7 +13,7 @@ export default class PlatformDeno implements Platform { ['run', '--allow-read', '--allow-net=httpbin.org', 'index-deno.js', file], {cwd: ctx.fixturesPath, stdio: ['pipe', 'pipe', 'inherit']}, ); - const stdout = await new Promise((resolve, reject) => { + const stdout = await new Promise((resolve, reject) => { let stdout = ''; child.stdout.on('data', (data) => { stdout += data; diff --git a/src/types.ts b/src/types.ts index c0c666c..32eb56b 100644 --- a/src/types.ts +++ b/src/types.ts @@ -7,6 +7,7 @@ export type ResultObject = export type Result = Record>; export interface Context { + fixturesPath: string; fixturesURL: string; }