mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-24 05:48:59 +08:00
chore: add utils
This commit is contained in:
@@ -13,6 +13,9 @@ vi.mock('@affine/admin/use-query', () => ({
|
||||
}));
|
||||
|
||||
vi.mock('../../use-mutation', () => ({
|
||||
useMutation: () => ({
|
||||
trigger: vi.fn(),
|
||||
}),
|
||||
useMutateQueryResource: () => () => {
|
||||
mutateQueryResourceMock();
|
||||
return Promise.resolve();
|
||||
|
||||
Reference in New Issue
Block a user