test(core): Add tests for scaling service (no-changelog) (#10320)

This commit is contained in:
Iván Ovejero
2024-08-08 09:42:16 +02:00
committed by GitHub
parent a0b021bbe7
commit aa95059cf0
3 changed files with 262 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ import type PCancelable from 'p-cancelable';
*/
@Service()
export class JobProcessor {
private readonly runningJobs: { [jobId: JobId]: RunningJob } = {};
private readonly runningJobs: Record<JobId, RunningJob> = {};
constructor(
private readonly logger: Logger,