From 2fed9221f1c8ff82727ee3eabaca2b991ed5ec29 Mon Sep 17 00:00:00 2001 From: Jordan Ramos Date: Tue, 16 Jun 2026 16:19:23 -0600 Subject: [PATCH] =?UTF-8?q?Fix=20test-backend=20=E2=80=94=20remove=20redun?= =?UTF-8?q?dant=20CLI=20path=20arg=20conflicting=20with=20roots?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The jest.roots config in package.json already restricts to backend/__tests__ and testPathIgnorePatterns excludes integration tests. The CLI path arg was being interpreted as an additional ignore pattern, causing 0 matches. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 39c6808..c6a7b77 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -100,7 +100,7 @@ test-backend: policy: pull script: - test -d node_modules || npm ci - - ./node_modules/.bin/jest --ci --forceExit --testPathIgnorePatterns='integration' backend/__tests__/ + - ./node_modules/.bin/jest --ci --forceExit timeout: 5 minutes needs: - install-backend