- commit
- 00f1445c1abcc1cde9ad289bc307e830d1ff822a
- parent
- 50efc9928dbb865bccb3f39ae94b95cc903acf33
- author
- Dami <dami.etoile@gmail.com>
| M | test/ | 2 | +- |
@@ -98,7 +98,7 @@ describe("fuel", () => {
9898 9999 // Blow past the row-write allowance: writes stop, reads continue.100100 const stub = env.RELAY.getByName("fuel-a");101- await runInDurableObject(stub, async (r: Relay) => r.fuel.record(now(), { rowsWritten: 1_200_000 }));101+ await runInDurableObject(stub, async (r: Relay) => r.fuel.record(now(), { rowsWritten: 400_000 }) // 150k over the 250k allowance: 300 sats, which the zap below covers);102102 status = await (await SELF.fetch(`http://${host}/fuel`)).json();103103 expect(status.outOfFuel).toBe(true);104104 expect(status.chargedMsats).toBeGreaterThan(0);