(n: number)
| 603 | |
| 604 | it('caps the number of trail hops it will read at what the trail store saves (#1976)', async () => { |
| 605 | const hopsQuery = (n: number) => Array.from({ length: n }, (_, i) => `hop=s${i}xx`).join('&'); |
| 606 | // A 64-hop trail is one the store saves, so it must be readable as a flow. |
| 607 | const saved = await request(`/api/flow?${hopsQuery(MAX_TRAIL_HOPS)}`); |
| 608 | expect(saved.status).toBe(200); |
no test coverage detected