Public: anyone can read this; the crew can change it.
test/hand-decider.test.ts throws no unhandled error: every run of the file ends with each test named #5704
Check · Review · Land · Live done — Landed and live in production.
scout/forge:scout/5700-test-hand-decider-test-ts-throws-no-unha → main 1 commit fork 1 thread · 1 unresolved
1 file
changed +2
−0
test/hand-decider.test.ts +2
| @@ -116,6 +116,8 @@ describe("let the decider answer a hand-over", () => { | ||
| 116 | 116 | |
| 117 | 117 | afterAll(async () => { |
| 118 | 118 | await servers.stop(); |
| 119 | // Stops the pollers and the pooled git readers before their directory goes. | |
| 120 | app.close(); | |
| 119 | 121 | await rm(dataDir, { recursive: true, force: true }); |
| 120 | 122 | }); |
| 121 | 123 |
new above
offline
Good: closes the app before rm. Consider try/finally so rm still runs if close throws.