mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 23:48:28 +00:00
chore: Enable "curly" rule to avoid single-statement if confusion/errors.
This commit is contained in:
@@ -23,7 +23,9 @@ describe("registerSlackHttpHandler", () => {
|
||||
const unregisters: Array<() => void> = [];
|
||||
|
||||
afterEach(() => {
|
||||
for (const unregister of unregisters.splice(0)) unregister();
|
||||
for (const unregister of unregisters.splice(0)) {
|
||||
unregister();
|
||||
}
|
||||
});
|
||||
|
||||
it("routes requests to a registered handler", async () => {
|
||||
|
||||
Reference in New Issue
Block a user