diff --git a/src/main/java/tech/jhipster/lite/generator/client/angular/admin/health/domain/AngularHealthModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/client/angular/admin/health/domain/AngularHealthModuleFactory.java
index 76c89df4165..4aca752b09b 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/angular/admin/health/domain/AngularHealthModuleFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/angular/admin/health/domain/AngularHealthModuleFactory.java
@@ -23,7 +23,7 @@ public class AngularHealthModuleFactory {
});\
""";
- private static final String HEALTH_LINK = " Health";
+ private static final String HEALTH_LINK = " Health";
private static final String ADMIN_ROUTING =
"""
diff --git a/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/admin-routing.module.ts.mustache b/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/admin-routing.module.ts.mustache
index 4b96df5e8ca..631762c6b35 100644
--- a/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/admin-routing.module.ts.mustache
+++ b/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/admin-routing.module.ts.mustache
@@ -10,8 +10,6 @@ export const routes: Routes = [
];
@NgModule({
- imports: [
- RouterModule.forChild(routes),
- ],
+ imports: [RouterModule.forChild(routes)],
})
export default class AdminRoutingModule {}
diff --git a/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/health.component.css.mustache b/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/health.component.css.mustache
index 7b94fa80d5f..52694fdb4ba 100644
--- a/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/health.component.css.mustache
+++ b/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/health.component.css.mustache
@@ -1,4 +1,5 @@
-table, h2 {
+table,
+h2 {
width: 90%;
margin-left: auto;
margin-right: auto;
diff --git a/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/health.component.html.mustache b/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/health.component.html.mustache
index 133aa31be2d..c1721e0500c 100644
--- a/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/health.component.html.mustache
+++ b/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/health.component.html.mustache
@@ -1,13 +1,10 @@
Diagnostics
-
+
-
Service name |
{{ element.key }} |
@@ -21,16 +18,15 @@
Details |
- @if (element.details) {
-
- }
+ @if (element.details) {
+
+ }
|
-
+
-
diff --git a/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/health.component.spec.ts.mustache b/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/health.component.spec.ts.mustache
index 72ef12c6eab..395831cdf13 100644
--- a/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/health.component.spec.ts.mustache
+++ b/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/health.component.spec.ts.mustache
@@ -42,9 +42,11 @@ describe('HealthComponent', () => {
// THEN
expect(service.checkHealth).toHaveBeenCalled();
- expect(service.checkHealth().subscribe({
- next: () => expect(comp.datasource).toEqual([{"details": {"mailDetail": "mail"}, "key": "mail", "status": "UP"}]),
- }));
+ expect(
+ service.checkHealth().subscribe({
+ next: () => expect(comp.datasource).toEqual([{ details: { mailDetail: 'mail' }, key: 'mail', status: 'UP' }]),
+ }),
+ );
});
it('should call checkHealth on refresh', done => {
@@ -66,8 +68,8 @@ describe('HealthComponent', () => {
// GIVEN
const health: Health = {
status: 'UP',
- components: null
- }
+ components: null,
+ };
// WHEN
comp.showHealth(health);
@@ -95,5 +97,4 @@ describe('HealthComponent', () => {
expect(downBadgeClass).toEqual('bg-danger');
});
});
-
});
diff --git a/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/modal/health-modal.component.html.mustache b/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/modal/health-modal.component.html.mustache
index 7b1ccad6a7c..73e34cc9250 100644
--- a/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/modal/health-modal.component.html.mustache
+++ b/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/modal/health-modal.component.html.mustache
@@ -1,25 +1,22 @@
-
Properties
-@if (healthDetails) {
-
-
-
- Name |
- {{ element.key }} |
-
-
-
- Value |
- {{ readableValue(element.value) }} |
-
+ @if (healthDetails) {
+
+
+ Name |
+ {{ element.key }} |
+
-
-
-
-}
+
+ Value |
+ {{ readableValue(element.value) }} |
+
+
+
+
+ }
diff --git a/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/modal/health-modal.component.spec.ts.mustache b/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/modal/health-modal.component.spec.ts.mustache
index 6cbec55901a..1b014e6f6e3 100644
--- a/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/modal/health-modal.component.spec.ts.mustache
+++ b/src/main/resources/generator/client/angular/admin/src/main/webapp/app/admin/health/modal/health-modal.component.spec.ts.mustache
@@ -7,8 +7,8 @@ import { HealthModalComponent } from './health-modal.component';
class MatDialogMock {
open() {
return {
- afterClosed: () => of(true)
- }
+ afterClosed: () => of(true),
+ };
}
}
@@ -18,9 +18,7 @@ describe('HealthModalComponent', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
- providers: [
- { provide: MAT_DIALOG_DATA, useValue: MatDialogMock }
- ]
+ providers: [{ provide: MAT_DIALOG_DATA, useValue: MatDialogMock }],
})
.overrideTemplate(HealthModalComponent, '')
.compileComponents();
diff --git a/src/main/resources/generator/server/pagination/domain/test/AppPageTest.java.mustache b/src/main/resources/generator/server/pagination/domain/test/AppPageTest.java.mustache
index 68843dfb263..d2991309b43 100644
--- a/src/main/resources/generator/server/pagination/domain/test/AppPageTest.java.mustache
+++ b/src/main/resources/generator/server/pagination/domain/test/AppPageTest.java.mustache
@@ -95,7 +95,11 @@ class {{baseName}}PageTest {
@Test
void shouldBeLastPageWithoutContent() {
- {{baseName}}Page