Skip to content
Snippets Groups Projects
Verified Commit d0654956 authored by Sebastian Bergandy's avatar Sebastian Bergandy :keyboard:
Browse files

OZG-7473 given when then

Based on CR comment.
parent bb10b0d1
Branches
Tags
1 merge request!104Administration: Neu hinzugefügte Felder für Statistik speichern
...@@ -108,7 +108,9 @@ describe('AggregationMappingService', () => { ...@@ -108,7 +108,9 @@ describe('AggregationMappingService', () => {
}); });
it('should emit resource', () => { it('should emit resource', () => {
expect(service.get()).toBeObservable(singleColdCompleted(stateResource)); const got$: Observable<StateResource<AggregationMappingResource>> = service.get();
expect(got$).toBeObservable(singleColdCompleted(stateResource));
}); });
}); });
...@@ -126,7 +128,9 @@ describe('AggregationMappingService', () => { ...@@ -126,7 +128,9 @@ describe('AggregationMappingService', () => {
}); });
it('should emit saved state resource', () => { it('should emit saved state resource', () => {
expect(service.save(aggregationMapping)).toBeObservable(singleColdCompleted(stateResource)); const saved$: Observable<StateResource<AggregationMappingResource>> = service.save(aggregationMapping);
expect(saved$).toBeObservable(singleColdCompleted(stateResource));
}); });
}); });
}); });
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment