From 256df16ac6708704c78de2a725e6a1c42174f132 Mon Sep 17 00:00:00 2001 From: khalilou88 <32600911+khalilou88@users.noreply.github.com> Date: Fri, 12 Jan 2024 15:37:16 +0100 Subject: [PATCH] test: fix tests (#759) * test: fix tests * build: work in progress --------- Co-authored-by: khalilou88 --- .../tests/nx-maven/maven-root-directory.spec.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/testing-projects/jnxplus-e2e/tests/nx-maven/maven-root-directory.spec.ts b/testing-projects/jnxplus-e2e/tests/nx-maven/maven-root-directory.spec.ts index b864e4c20..70096ee6d 100644 --- a/testing-projects/jnxplus-e2e/tests/nx-maven/maven-root-directory.spec.ts +++ b/testing-projects/jnxplus-e2e/tests/nx-maven/maven-root-directory.spec.ts @@ -868,7 +868,7 @@ describe('nx-maven maven-root-directory e2e', () => { expect(depGraphJson.graph.dependencies[libName]).toContainEqual({ type: 'static', source: libName, - target: parentProjectName, + target: libsParentProject, }); }, 240000); @@ -930,6 +930,12 @@ describe('nx-maven maven-root-directory e2e', () => { target: parentProjectName, }); + expect(depGraphJson.graph.dependencies[appName]).toContainEqual({ + type: 'static', + source: appName, + target: appsParentProject, + }); + const process = await runNxCommandUntil(`serve ${appName}`, (output) => output.includes(`Server Running: http://localhost:8080`), );