Skip to content

Commit

Permalink
fix: fix type check
Browse files Browse the repository at this point in the history
  • Loading branch information
wzhudev committed Feb 5, 2025
1 parent 48e2a49 commit b0a79c9
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import {
IUIPartsService,
UIPartsService,
} from '@univerjs/ui';
import { BehaviorSubject } from 'rxjs';
import { SheetClipboardController } from '../../../controllers/clipboard/clipboard.controller';
import { IMarkSelectionService } from '../../mark-selection/mark-selection.service';
import { ISheetSelectionRenderService } from '../../selection/base-selection-render.service';
Expand Down Expand Up @@ -603,6 +604,9 @@ export function clipboardTestBed(workbookData?: IWorkbookData, dependencies?: De
mainComponent: null as any,
components: null as any,
isMainScene: true,
activated$: new BehaviorSubject(true),
activate: () => {},
deactivate: () => {},
}, injector);

injector.add([SheetSkeletonManagerService, { useValue: fakeSheetSkeletonManagerService }]);
Expand All @@ -615,6 +619,9 @@ export function clipboardTestBed(workbookData?: IWorkbookData, dependencies?: De
components: new Map(),
isMainScene: true,
with: injector.get.bind(injector),
activated$: new BehaviorSubject(true),
activate: () => {},
deactivate: () => {},
});

return {
Expand Down

0 comments on commit b0a79c9

Please sign in to comment.