mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 01:12:55 +00:00
chore(lint): enable additional cleanup rules
This commit is contained in:
@@ -88,11 +88,7 @@ describe("createSequentialQueue", () => {
|
||||
await new Promise<void>((resolve) => setImmediate(resolve));
|
||||
expect(unhandled).toStrictEqual([]);
|
||||
|
||||
await expect(
|
||||
enqueue("feishu:default:chat-1", async () => {
|
||||
return;
|
||||
}),
|
||||
).resolves.toBeUndefined();
|
||||
await expect(enqueue("feishu:default:chat-1", async () => {})).resolves.toBeUndefined();
|
||||
} finally {
|
||||
process.off("unhandledRejection", onUnhandledRejection);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user