chore(lint): enable no-promise-executor-return

This commit is contained in:
Peter Steinberger
2026-05-31 23:06:03 +01:00
parent 48afba96a3
commit 22cb7fb6b7
375 changed files with 2134 additions and 884 deletions

View File

@@ -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");