style: format tests and helpers

This commit is contained in:
Peter Steinberger
2026-01-04 14:57:50 +00:00
parent 557aa74ee8
commit c6b8235862
9 changed files with 28 additions and 15 deletions

View File

@@ -21,7 +21,9 @@ describe("gateway server models + voicewake", () => {
"voicewake.get returns defaults and voicewake.set broadcasts",
{ timeout: 15_000 },
async () => {
const homeDir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdbot-home-"));
const homeDir = await fs.mkdtemp(
path.join(os.tmpdir(), "clawdbot-home-"),
);
const prevHome = process.env.HOME;
process.env.HOME = homeDir;