1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-23 03:22:50 +02: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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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