test: stabilize gateway tests
This commit is contained in:
@@ -214,9 +214,7 @@ describe("gateway server cron", () => {
|
||||
testState.cronStorePath = undefined;
|
||||
});
|
||||
|
||||
test(
|
||||
"enables cron scheduler by default and runs due jobs automatically",
|
||||
async () => {
|
||||
test("enables cron scheduler by default and runs due jobs automatically", async () => {
|
||||
const dir = await fs.mkdtemp(
|
||||
path.join(os.tmpdir(), "clawdis-gw-cron-default-on-"),
|
||||
);
|
||||
@@ -307,7 +305,5 @@ describe("gateway server cron", () => {
|
||||
testState.cronStorePath = undefined;
|
||||
await fs.rm(dir, { recursive: true, force: true });
|
||||
}
|
||||
},
|
||||
15_000,
|
||||
);
|
||||
}, 15_000);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user