mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2026-05-26 12:38:03 +00:00
BETTERZON-83: FE unit testing (#35)
* BETTERZON-83: Making pre-generated unit tests work * BETTERZON-83: Writing unit tests for angular to improve code coverage
This commit is contained in:
@@ -47,7 +47,7 @@ export class ProductDetailsComponent implements OnInit {
|
||||
}
|
||||
|
||||
getProduct(): void {
|
||||
this.apiService.getProduct(this.productId).subscribe(product => this.product = product);
|
||||
this.apiService.getProduct(this.productId).subscribe(product => {this.product = product});
|
||||
}
|
||||
|
||||
getPrices(): void {
|
||||
|
||||
Reference in New Issue
Block a user