All files / src/app/core/services location.service.ts

87.5% Statements 7/8
0% Branches 0/2
66.66% Functions 2/3
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 1117x         17x   1x      
import { Injectable } from "@angular/core";
 
@Injectable({
  providedIn: 'root'
})
export class LocationService {
    assign(url: string): void {
        window.location.assign(url);
    }
}