Skip to content

Commit

Permalink
Make jobs protected again
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederikBolding committed Nov 11, 2022
1 parent 1a65e26 commit f1c700b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class MockExecutionService extends NodeThreadExecutionService {
}

getJobs() {
// @ts-expect-error Accessing private property
return this.jobs;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export abstract class AbstractExecutionService<WorkerType>
#snapRpcHooks: Map<string, SnapRpcHook>;

// Cannot be hash private yet because of tests.
private jobs: Map<string, Job<WorkerType>>;
protected jobs: Map<string, Job<WorkerType>>;

// Cannot be hash private yet because of tests.
private setupSnapProvider: SetupSnapProvider;
Expand Down

0 comments on commit f1c700b

Please sign in to comment.