style: fix biome formatting

This commit is contained in:
Joao Lisboa
2025-12-02 17:06:03 -03:00
committed by Peter Steinberger
parent 73a9fdca2a
commit 499a3e3227
4 changed files with 4905 additions and 7 deletions

View File

@@ -54,7 +54,9 @@ describe("media server", () => {
const server = await startMediaServer(0, 5_000);
const port = (server.address() as AddressInfo).port;
// URL-encoded "../" to bypass client-side path normalization
const res = await fetch(`http://localhost:${port}/media/%2e%2e%2fpackage.json`);
const res = await fetch(
`http://localhost:${port}/media/%2e%2e%2fpackage.json`,
);
expect(res.status).toBe(400);
expect(await res.text()).toBe("invalid path");
await new Promise((r) => server.close(r));