mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 05:12:39 +00:00
test: add opreationLog mock (#4542)
This commit is contained in:
@@ -1 +1,8 @@
|
||||
import { vi } from 'vitest';
|
||||
import './request';
|
||||
|
||||
vi.mock(import('@fastgpt/service/support/operationLog/addOperationLog'), () => {
|
||||
return {
|
||||
addOperationLog: vi.fn()
|
||||
};
|
||||
});
|
||||
|
Reference in New Issue
Block a user