(machine: string)
| 1430 | it('stores that a machine reported from a container, for the day', async () => { |
| 1431 | at('2026-10-03T12:00:00Z'); |
| 1432 | const container = (machine: string): unknown => |
| 1433 | one(`SELECT container FROM machine_days WHERE machine_id = ? AND day = '2026-10-03'`, machine)?.container; |
| 1434 | expect(await post(M1, [index('2026-10-03T11:00:00Z')], { container: true, schema_version: 3 })).toBe(204); |
| 1435 | expect(await post(M2, [index('2026-10-03T11:00:00Z')], { container: false, schema_version: 3 })).toBe(204); |
| 1436 | // An engine from before the field says nothing, which is not a container. |
no test coverage detected