Minor cleanup

This commit is contained in:
Bartek Fabiszewski 2019-12-19 19:03:18 +01:00
parent 87c29a0a7c
commit ca38094ffd

View File

@ -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);