Skip to content

Commit

Permalink
improve run-context.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Jan 12, 2023
1 parent 36ef3d7 commit 2eca2d0
Show file tree
Hide file tree
Showing 2 changed files with 172 additions and 235 deletions.
2 changes: 1 addition & 1 deletion src/run-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export type RunContextSettings = {

type PromiseRunResult<GeneratorType extends Generator> = Promise<RunResult<GeneratorType>>;

export class RunContextBase<GeneratorType extends Generator> extends EventEmitter {
export class RunContextBase<GeneratorType extends Generator = Generator> extends EventEmitter {
readonly mockedGenerators: Record<string, Generator> = {};
env!: Environment;
generator!: GeneratorType;
Expand Down
Loading

0 comments on commit 2eca2d0

Please sign in to comment.