mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-11 10:10:25 +01:00
fixed user state type (#10744)
This commit is contained in:
parent
80f4935171
commit
e926aa4bc9
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user