1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

fixed user state type (#10744)

This commit is contained in:
SmithThe4th
2024-08-27 10:01:04 -04:00
committed by GitHub
parent 80f4935171
commit e926aa4bc9

View File

@@ -287,7 +287,10 @@ describe("ConfigService", () => {
environmentService.environment$ = environmentSubject; environmentService.environment$ = environmentSubject;
globalState.stateSubject.next({ [apiUrl(0)]: config }); globalState.stateSubject.next({ [apiUrl(0)]: config });
userState.stateSubject.next([userId, config]); userState.stateSubject.next({
syncValue: true,
combinedState: [userId, config],
});
configApiService.get.mockImplementation(() => { configApiService.get.mockImplementation(() => {
return new Promise<ServerConfigResponse>((resolve) => { return new Promise<ServerConfigResponse>((resolve) => {