| 1 | /** |
| 2 | * Hot-reload fixture for the floci dev provider test |
| 3 | * ([Function.local.test.ts](../../Function.local.test.ts)). The test clones |
| 4 | * this directory and rewrites `MARKER` in the CLONE, so the checked-in |
| 5 | * value is always `marker-v1`. |
| 6 | */ |
| 7 | const MARKER = "marker-v1"; |
| 8 | |
| 9 | const handler = async () => ({ |
| 10 | statusCode: 200, |
| 11 | headers: { "content-type": "text/plain" }, |
| 12 | body: `${MARKER}:${process.env.DEV_MARKER ?? ""}`, |
| 13 | }); |
| 14 | |
| 15 | export { handler }; |