(chunkHash: string)
| 290 | |
| 291 | it("pins a stable fingerprint on the report the DO itself owns", () => { |
| 292 | const ownReport = (chunkHash: string): ErrorEvent => |
| 293 | doEcho({ |
| 294 | exception: { |
| 295 | values: [ |
| 296 | { |
| 297 | type: "Error", |
| 298 | value: "Durable Object reset because its code was updated.", |
| 299 | mechanism: { type: "generic", handled: true }, |
| 300 | ...hashedFrames(chunkHash), |
| 301 | }, |
| 302 | ], |
| 303 | }, |
| 304 | }); |
| 305 | |
| 306 | const before = beforeSendCloudEvent(ownReport("BAuwphPA"), {}); |
| 307 | const after = beforeSendCloudEvent(ownReport("DkcPBbWe"), {}); |
no test coverage detected