Skip to content

Commit d09e355

Browse files
fix - users manager
1 parent 77fab39 commit d09e355

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/pages/home/home.spec.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -164,27 +164,11 @@ describe('HomePage', () => {
164164
expect(el).toBeUndefined();
165165
});
166166

167-
it('should request uid from Storage before loading home when view entered', fakeAsync(() => {
168-
spyOn(component, 'requestUID').and.callThrough();
169-
spyOn(storage, 'ready').and.callThrough();
170-
spyOn(storage, 'get').and.callThrough();
171-
spyOn(component, 'loadHome');
172-
component.ionViewDidLoad();
173-
tick();
174-
fixture.detectChanges();
175-
expect(component.requestUID).toHaveBeenCalled();
176-
expect(storage.ready).toHaveBeenCalled();
177-
expect(storage.get).toHaveBeenCalled();
178-
expect(component.loadHome).toHaveBeenCalled();
179-
}));
180-
181167
it('should load home', () => {
182168
spyOn(component, 'timestampFeed').and.returnValue({ subscribe: () => {}});
183-
spyOn(component, 'checkIfProfileBlocked');
184169
spyOn(component, 'startLoader');
185170
component.loadHome();
186171
expect(component.timestampFeed).toHaveBeenCalled();
187-
expect(component.checkIfProfileBlocked).toHaveBeenCalled();
188172
expect(component.startLoader).toHaveBeenCalled();
189173
});
190174

0 commit comments

Comments
 (0)