From 113ed01504cba59806313c1d33d7163dbc03911f Mon Sep 17 00:00:00 2001 From: nntrivi2001 Date: Tue, 4 Aug 2026 09:48:01 +0700 Subject: [PATCH] test(lanes): prove profile scaffolding end to end with a real boot (A3) --- server/__tests__/lane-detect.test.js | 51 ++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/server/__tests__/lane-detect.test.js b/server/__tests__/lane-detect.test.js index 9a167f3..2508b05 100644 --- a/server/__tests__/lane-detect.test.js +++ b/server/__tests__/lane-detect.test.js @@ -341,3 +341,54 @@ describe("checkProfile", () => { } }); }); + +describe("end to end: init -> check -> real boot", () => { + it("a single-service, no-database repo boots for real after init", async () => { + const lanesLib = require("../lib/lanes"); + const runtime = require("../lib/lane-runtime"); + + const repo = makeRepo(); + // A plain Node script reading process.env.PORT — the exact convention + // bootLine's `env PORT="$..." npm run