Skip to content

Commit

Permalink
Fix some isssues (#70)
Browse files Browse the repository at this point in the history
* fix UT

* fix typo in callAlbireoRPC function
  • Loading branch information
EverettSummer authored Nov 2, 2023
1 parent ecfd793 commit ad85f0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/JobScheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ export class JobScheduler implements JobApplication {
bangumi_id: job.jobMessage.bangumiId,
jobType: job.jobMessage.jobType,
startTime: job.startTime.toISOString(),
endTIme: (job.finishedTime ?? new Date()).toISOString()
endTime: (job.finishedTime ?? new Date()).toISOString()
}
});
}
Expand Down
4 changes: 4 additions & 0 deletions src/test-helpers/FakeConfigManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,8 @@ export class FakeConfigManager implements ConfigManager {
public fontsDir(): string {
return '';
}

public albireoRPCUrl(): string {
return 'http://localhost:8080';
}
}

0 comments on commit ad85f0e

Please sign in to comment.