1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

update tests and cleanup

This commit is contained in:
Jonathan Prusik
2024-12-16 11:58:35 -05:00
parent d62edcffa5
commit c339d684f8
13 changed files with 234 additions and 100 deletions

View File

@@ -483,7 +483,29 @@ export class ServiceContainer {
this.containerService = new ContainerService(this.keyService, this.encryptService);
this.domainSettingsService = new DefaultDomainSettingsService(this.stateProvider);
this.configApiService = new ConfigApiService(this.apiService, this.tokenService);
this.authService = new AuthService(
this.accountService,
this.messagingService,
this.keyService,
this.apiService,
this.stateService,
this.tokenService,
);
this.configService = new DefaultConfigService(
this.configApiService,
this.environmentService,
this.logService,
this.stateProvider,
this.authService,
);
this.domainSettingsService = new DefaultDomainSettingsService(
this.stateProvider,
this.configService,
);
this.fileUploadService = new FileUploadService(this.logService, this.apiService);
@@ -579,25 +601,6 @@ export class ServiceContainer {
this.taskSchedulerService = new DefaultTaskSchedulerService(this.logService);
this.authService = new AuthService(
this.accountService,
this.messagingService,
this.keyService,
this.apiService,
this.stateService,
this.tokenService,
);
this.configApiService = new ConfigApiService(this.apiService, this.tokenService);
this.configService = new DefaultConfigService(
this.configApiService,
this.environmentService,
this.logService,
this.stateProvider,
this.authService,
);
this.devicesApiService = new DevicesApiServiceImplementation(this.apiService);
this.deviceTrustService = new DeviceTrustService(
this.keyGenerationService,