From 325e6f893c4d1cbe4e4ab5963596535e9b28f207 Mon Sep 17 00:00:00 2001 From: khalilou88 <32600911+khalilou88@users.noreply.github.com> Date: Mon, 29 May 2023 13:33:41 +0200 Subject: [PATCH] fix: fix plugin tests [skip ci] --- .../tests/nx-micronaut-gradle.spec.ts | 8 ++++---- .../tests/nx-micronaut-gradle-kt.spec.ts | 8 ++++---- tsconfig.base.json | 5 ++++- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/testing-projects/e2e/nx-micronaut-gradle-e2e/tests/nx-micronaut-gradle.spec.ts b/testing-projects/e2e/nx-micronaut-gradle-e2e/tests/nx-micronaut-gradle.spec.ts index f39526259..959654b65 100644 --- a/testing-projects/e2e/nx-micronaut-gradle-e2e/tests/nx-micronaut-gradle.spec.ts +++ b/testing-projects/e2e/nx-micronaut-gradle-e2e/tests/nx-micronaut-gradle.spec.ts @@ -294,7 +294,7 @@ describe('nx-micronaut-gradle e2e', () => { expect(buildGradle.includes('war')).toBeTruthy(); expect( buildGradle.includes( - 'org.springframework.micronaut:spring-micronaut-starter-tomcat' + 'org.springframework.micronaut:spring-boot-starter-tomcat' ) ).toBeTruthy(); @@ -387,7 +387,7 @@ describe('nx-micronaut-gradle e2e', () => { expect(buildGradle.includes('war')).toBeTruthy(); expect( buildGradle.includes( - 'org.springframework.micronaut:spring-micronaut-starter-tomcat' + 'org.springframework.micronaut:spring-boot-starter-tomcat' ) ).toBeTruthy(); @@ -581,7 +581,7 @@ describe('nx-micronaut-gradle e2e', () => { expect(buildGradle.includes('war')).toBeTruthy(); expect( buildGradle.includes( - 'org.springframework.micronaut:spring-micronaut-starter-tomcat' + 'org.springframework.micronaut:spring-boot-starter-tomcat' ) ).toBeTruthy(); @@ -1185,7 +1185,7 @@ describe('nx-micronaut-gradle e2e', () => { expect(buildGradle.includes('war')).toBeTruthy(); expect( buildGradle.includes( - 'org.springframework.micronaut:spring-micronaut-starter-tomcat' + 'org.springframework.micronaut:spring-boot-starter-tomcat' ) ).toBeTruthy(); diff --git a/testing-projects/e2e/nx-micronaut-gradle-kt-e2e/tests/nx-micronaut-gradle-kt.spec.ts b/testing-projects/e2e/nx-micronaut-gradle-kt-e2e/tests/nx-micronaut-gradle-kt.spec.ts index 417ae1464..2b32d4d57 100644 --- a/testing-projects/e2e/nx-micronaut-gradle-kt-e2e/tests/nx-micronaut-gradle-kt.spec.ts +++ b/testing-projects/e2e/nx-micronaut-gradle-kt-e2e/tests/nx-micronaut-gradle-kt.spec.ts @@ -297,7 +297,7 @@ describe('nx-micronaut-gradle kt e2e', () => { expect(buildGradle.includes('war')).toBeTruthy(); expect( buildGradle.includes( - 'org.springframework.micronaut:spring-micronaut-starter-tomcat' + 'org.springframework.micronaut:spring-boot-starter-tomcat' ) ).toBeTruthy(); @@ -392,7 +392,7 @@ describe('nx-micronaut-gradle kt e2e', () => { expect(buildGradle.includes('war')).toBeTruthy(); expect( buildGradle.includes( - 'org.springframework.micronaut:spring-micronaut-starter-tomcat' + 'org.springframework.micronaut:spring-boot-starter-tomcat' ) ).toBeTruthy(); @@ -588,7 +588,7 @@ describe('nx-micronaut-gradle kt e2e', () => { expect(buildGradle.includes('war')).toBeTruthy(); expect( buildGradle.includes( - 'org.springframework.micronaut:spring-micronaut-starter-tomcat' + 'org.springframework.micronaut:spring-boot-starter-tomcat' ) ).toBeTruthy(); @@ -1198,7 +1198,7 @@ describe('nx-micronaut-gradle kt e2e', () => { expect(buildGradle.includes('war')).toBeTruthy(); expect( buildGradle.includes( - 'org.springframework.micronaut:spring-micronaut-starter-tomcat' + 'org.springframework.micronaut:spring-boot-starter-tomcat' ) ).toBeTruthy(); diff --git a/tsconfig.base.json b/tsconfig.base.json index 3ec3e9d41..95a44f0f2 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -23,7 +23,10 @@ "@jnxplus/nx-boot-maven": ["packages/nx-boot-maven/src/index.ts"], "@jnxplus/nx-maven": ["packages/nx-maven/src/index.ts"], "@jnxplus/nx-quarkus-gradle": ["packages/nx-quarkus-gradle/src/index.ts"], - "@jnxplus/nx-quarkus-maven": ["packages/nx-quarkus-maven/src/index.ts"] + "@jnxplus/nx-quarkus-maven": ["packages/nx-quarkus-maven/src/index.ts"], + "@jnxplus/nx-micronaut-gradle": [ + "packages/nx-micronaut-gradle/src/index.ts" + ] } }, "exclude": ["node_modules", "tmp"]