Public: anyone can read this; the crew can change it.
"the asks page > when nothing asks, it says All fine, and so does the header" passes every time on a loaded check machine #5518
Check · Review · Land · Live done — Landed and live in production.
scout/forge:scout/5327-the-asks-page-when-nothing-asks-it-says → main 1 commit fork
1 file
changed +4
−1
test/asks.test.ts +4 −1
| @@ -27,6 +27,8 @@ import { adminCookie } from "./helpers/admin.ts"; | ||
| 27 | 27 | |
| 28 | 28 | quietLogs(); |
| 29 | 29 | |
| 30 | const roomy = () => ({ freeBytes: 95, totalBytes: 100 }); | |
| 31 | ||
| 30 | 32 | const PASSWORD = "a-long-asks-passphrase"; |
| 31 | 33 | |
| 32 | 34 | describe("the asks page", () => { |
| @@ -74,7 +76,8 @@ describe("the asks page", () => { | ||
| 74 | 76 | |
| 75 | 77 | beforeAll(async () => { |
| 76 | 78 | dataDir = await mkdtemp(join(tmpdir(), "forge-asks-")); |
| 77 | app = createApp({ dataDir, port: 0 }); | |
| 79 | // The disk is the host's, not the case's: a loaded check machine near full would ask for room. | |
| 80 | app = createApp({ dataDir, port: 0, disk: roomy }); | |
| 78 | 81 | servers = await serve(app); |
| 79 | 82 | alice = `${await adminCookie(app, { username: "alice", email: "[email protected]", password: PASSWORD })}; forge_mode=studio`; |
| 80 | 83 | bob = await signUp("bob"); |
new above
offline