()
| 1801 | expect(row?.last_health).toMatchObject({ status: "expired" }); |
| 1802 | |
| 1803 | const grantRequests = () => |
| 1804 | server.requests.pipe( |
| 1805 | Effect.map( |
| 1806 | (all) => |
| 1807 | all.filter((r) => r.path === "/token" && r.body.includes("refresh_token")).length, |
| 1808 | ), |
| 1809 | ); |
| 1810 | const sentBefore = yield* grantRequests(); |
| 1811 | expect(sentBefore).toBe(1); |
| 1812 |