Skip to content

Commit 4acafc0

Browse files
committed
mwa(front): Format code
Signed-off-by: Elena Zioga <[email protected]>
1 parent 5e72694 commit 4acafc0

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
console.error();
2+
console.error('-----------------------------------------------');
3+
console.error('Please run `npm run format:write` to format your code.');
4+
console.error('-----------------------------------------------');
5+
console.error();
6+
process.exit(1);

frontend/src/app/services/backend.service.spec.ts

+5-7
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@ import { HttpClientTestingModule } from '@angular/common/http/testing';
44
import { MatSnackBarModule } from '@angular/material/snack-bar';
55

66
describe('BackendService', () => {
7-
beforeEach(
8-
waitForAsync(() => {
9-
TestBed.configureTestingModule({
10-
imports: [HttpClientTestingModule, MatSnackBarModule],
11-
}).compileComponents();
12-
}),
13-
);
7+
beforeEach(waitForAsync(() => {
8+
TestBed.configureTestingModule({
9+
imports: [HttpClientTestingModule, MatSnackBarModule],
10+
}).compileComponents();
11+
}));
1412
it('should be created', () => {
1513
const service: BackendService = TestBed.inject(BackendService);
1614
expect(service).toBeTruthy();

frontend/src/app/services/grafana.service.spec.ts

+5-7
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ import { MatSnackBarModule } from '@angular/material/snack-bar';
55
import { GrafanaService } from './grafana.service';
66

77
describe('GrafanaService', () => {
8-
beforeEach(
9-
waitForAsync(() => {
10-
TestBed.configureTestingModule({
11-
imports: [HttpClientTestingModule, MatSnackBarModule],
12-
}).compileComponents();
13-
}),
14-
);
8+
beforeEach(waitForAsync(() => {
9+
TestBed.configureTestingModule({
10+
imports: [HttpClientTestingModule, MatSnackBarModule],
11+
}).compileComponents();
12+
}));
1513

1614
it('should be created', () => {
1715
const service: GrafanaService = TestBed.inject(GrafanaService);

0 commit comments

Comments
 (0)