mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-24 05:07:06 +08:00
refactor(infra): migrate to new infra (#5565)
This commit is contained in:
@@ -26,6 +26,6 @@ export function configureInfraServices(services: ServiceCollection) {
|
||||
|
||||
export function configureTestingInfraServices(services: ServiceCollection) {
|
||||
configureTestingWorkspaceServices(services);
|
||||
services.addImpl(GlobalCache, MemoryMemento);
|
||||
services.addImpl(GlobalState, MemoryMemento);
|
||||
services.override(GlobalCache, MemoryMemento);
|
||||
services.override(GlobalState, MemoryMemento);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user