Please remove `console.log` from tests, also not to call any function but to call nothing, it's enough to leave `spyOn`, as I recall.