Skip to content

Commit 72f5860

Browse files
author
Alexander Bainczyk
committed
lint frontend
1 parent 347923e commit 72f5860

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

frontend/src/app/entities/test-execution-config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ export class TestExecutionConfig {
2525
driverConfig = new WebDriverConfig();
2626
environment: ProjectEnvironment;
2727
environmentId: number;
28-
default: boolean = false;
28+
default = false;
2929

3030
static isValid(config: any): boolean {
3131
return config != null
3232
&& config.driverConfig.browser != null
33-
&& config.driverConfig.browser != ''
33+
&& config.driverConfig.browser !== ''
3434
&& config.driverConfig.platform != null
3535
&& config.driverConfig.width > 0
3636
&& config.driverConfig.height > 0;

frontend/src/app/views/test-case-view/test-case-view.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export class TestCaseViewComponent implements OnInit, OnDestroy {
140140
modalRef.componentInstance.project = this.project;
141141
modalRef.result.then((config) => {
142142
this.testConfig = config;
143-
this.toastService.success(`The config has been saved for the moment.`)
143+
this.toastService.success(`The config has been saved for the moment.`);
144144
}).catch(() => {});
145145
}
146146

frontend/src/app/views/test-suite-view/test-suite-view.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ export class TestSuiteViewComponent implements OnInit, OnDestroy {
284284
modalRef.componentInstance.project = this.project;
285285
modalRef.result.then(config => {
286286
this.testConfig = config;
287-
this.toastService.success(`Config has been saved for the moment.`)
287+
this.toastService.success(`Config has been saved for the moment.`);
288288
}).catch(() => {
289289
});
290290
}

0 commit comments

Comments
 (0)