import * as service from './rate-service-mock'; service.findAll() .then(rates => { let html = ''; rates.forEach(rate => html += `