From ca38094ffde2bc4beb457e1baf5a2e58dced1eee Mon Sep 17 00:00:00 2001 From: Bartek Fabiszewski Date: Thu, 19 Dec 2019 19:03:18 +0100 Subject: [PATCH] Minor cleanup --- js/test/userviewmodel.test.js | 4 ---- 1 file changed, 4 deletions(-) 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);