Skip to content

Commit

Permalink
fix: return mock result
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Oct 25, 2023
1 parent e32de0e commit b7c3429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/run-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ export class RunContextBase<GeneratorType extends BaseGenerator = DefaultGenerat
env.on('compose', (_namespace, generator) => {
const createCallback = method =>
function (this: any, ...args) {
stub.call(this, method, ...args);
return stub.call(this, method, ...args);
};

generator.spawnCommand = createCallback('spawnCommand');
Expand Down

0 comments on commit b7c3429

Please sign in to comment.