diff --git a/js/test/userviewmodel.test.js b/js/test/userviewmodel.test.js index 11c9506..9c2b5e9 100644 --- a/js/test/userviewmodel.test.js +++ b/js/test/userviewmodel.test.js @@ -60,10 +60,6 @@ describe('UserViewModel tests', () => { }); it('should create instance with state as parameter', () => { - // given - spyOn(uUser, 'fetchList').and.returnValue(Promise.resolve(users)); - // when - // then expect(vm).toBeInstanceOf(ViewModel); expect(vm.select.element).toBeInstanceOf(HTMLSelectElement); expect(vm.state).toBe(state);