(result: Result<void>)
| 82 | } |
| 83 | |
| 84 | function expectError(result: Result<void>): string { |
| 85 | expect(result.success).toBe(false); |
| 86 | if (result.success) { |
| 87 | throw new Error("Expected lifecycle hook to fail"); |
| 88 | } |
| 89 | return result.error; |
| 90 | } |
| 91 | |
| 92 | describe("createCoderArchiveHook", () => { |
| 93 | it("does nothing when archive behavior is keep", async () => { |
no outgoing calls
no test coverage detected