mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-04 23:52:53 +00:00
chore(lint): enable no-promise-executor-return
This commit is contained in:
@@ -445,7 +445,7 @@ describe("runMessageAction", () => {
|
||||
vi.useFakeTimers();
|
||||
try {
|
||||
hasHooksMock.mockReturnValueOnce(true);
|
||||
runGatewayStopMock.mockImplementationOnce(() => new Promise(() => undefined));
|
||||
runGatewayStopMock.mockImplementationOnce(() => new Promise(() => {}));
|
||||
const runMessageAction = createRunMessageAction();
|
||||
|
||||
const pending = expect(runMessageAction("send", baseSendOptions)).rejects.toThrow("exit");
|
||||
|
||||
Reference in New Issue
Block a user