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:
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user