Boot the e2e suite without Mongo
Version: 1.2.1 Date: 2026-10-18
Goal: npm run test:e2e must run in CI. The Nest scaffold expected Hello World and Jest could not resolve src/ imports.
Solution: Map src/ the same way as the unit config. A setup file supplies the config env. DATA_SOURCE is a stub so index creation does not open Mongo. The suite hits GET / and GET /health. The test job runs npm run test:e2e after the unit tests.
Files Modified:
test/jest-e2e.json- Path mapper and env setuptest/e2e-env.ts- Config values required to boot, including Magictest/app.e2e-spec.ts- Root and health checks.gitlab-ci.yml- e2e step on the test job
Release fragment: fix-e2e-app-boot