mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-03 13:33:32 +01:00
Merge branch 'main' into vault/pm-5273
This commit is contained in:
commit
a5e56d9d4c
@ -15,6 +15,8 @@ import {
|
|||||||
DerivedStateProvider,
|
DerivedStateProvider,
|
||||||
UserKeyDefinition,
|
UserKeyDefinition,
|
||||||
} from "../src/platform/state";
|
} from "../src/platform/state";
|
||||||
|
// eslint-disable-next-line import/no-restricted-paths -- Needed to type check similarly to the real state providers
|
||||||
|
import { isUserKeyDefinition } from "../src/platform/state/user-key-definition";
|
||||||
import { UserId } from "../src/types/guid";
|
import { UserId } from "../src/types/guid";
|
||||||
import { DerivedStateDependencies } from "../src/types/state";
|
import { DerivedStateDependencies } from "../src/types/state";
|
||||||
|
|
||||||
@ -25,7 +27,6 @@ import {
|
|||||||
FakeGlobalState,
|
FakeGlobalState,
|
||||||
FakeSingleUserState,
|
FakeSingleUserState,
|
||||||
} from "./fake-state";
|
} from "./fake-state";
|
||||||
import { isUserKeyDefinition } from "../src/platform/state/user-key-definition";
|
|
||||||
|
|
||||||
export class FakeGlobalStateProvider implements GlobalStateProvider {
|
export class FakeGlobalStateProvider implements GlobalStateProvider {
|
||||||
mock = mock<GlobalStateProvider>();
|
mock = mock<GlobalStateProvider>();
|
||||||
|
Loading…
Reference in New Issue
Block a user