Minor cleanup
This commit is contained in:
parent
87c29a0a7c
commit
ca38094ffd
@ -60,10 +60,6 @@ describe('UserViewModel tests', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should create instance with state as parameter', () => {
|
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).toBeInstanceOf(ViewModel);
|
||||||
expect(vm.select.element).toBeInstanceOf(HTMLSelectElement);
|
expect(vm.select.element).toBeInstanceOf(HTMLSelectElement);
|
||||||
expect(vm.state).toBe(state);
|
expect(vm.state).toBe(state);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user