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

OZG-6185 fix test

parent 4826d1d0
Branches
Tags
1 merge request!68OZG-6185 fix versenden step
...@@ -82,12 +82,6 @@ describe('ResourceService', () => { ...@@ -82,12 +82,6 @@ describe('ResourceService', () => {
isInvalidResourceCombinationSpy = jest.spyOn(ResourceUtil, 'isInvalidResourceCombination').mockReturnValue(true); isInvalidResourceCombinationSpy = jest.spyOn(ResourceUtil, 'isInvalidResourceCombination').mockReturnValue(true);
}); });
it('should have debounce', () => {
service.get().subscribe();
expect(service.handleResourceChanges).not.toHaveBeenCalled();
});
it('should handle config resource changed', fakeAsync(() => { it('should handle config resource changed', fakeAsync(() => {
service.get().subscribe(); service.get().subscribe();
tick(50); tick(50);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment