From a240bce8fc6b1511cfb44b6b6cba25408221f010 Mon Sep 17 00:00:00 2001 From: Nils-Johan Gynther Date: Sat, 23 May 2026 19:50:12 +0200 Subject: [PATCH] chore(backend): update test execution strategy in Dockerfile Update Jest test runner configuration to use `--runInBand` flag in Docker build process for more reliable test execution in containerized environment. --- backend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index cda3640d..1463bc2f 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -17,7 +17,7 @@ COPY prisma ./prisma COPY src ./src COPY tsconfig.json nest-cli.json ./ RUN ./node_modules/.bin/prisma generate -RUN npm test +RUN npm test -- --runInBand RUN npm run build # Stage 3: Kör applikationen