Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
beforeEach(() => {
weatherServiceMock = jasmine.createSpyObj(WeatherService.name, ['getCurrentWeather'])
addPropertyAsBehaviorSubject(weatherServiceMock, 'currentWeather$')
// ngrx data store must be created manually
store = jasmine.createSpyObj('AppState Store', ['pipe'])
store.pipe.and.returnValue(of())
})