ADD: new Neubaukompass provider | FIX: tests, console notifier

This commit is contained in:
Christian Kellner
2018-02-13 12:43:37 +01:00
parent 35bdc9e78c
commit 8a1d86c90e
14 changed files with 201 additions and 92 deletions

View File

@@ -4,10 +4,9 @@ const config = require('../../../conf/config.json');
* simply prints out the found data to the console
* @param serviceName e.g immoscout
* @param newListings an array with newly found listings
* @returns {Promise<Void> | void}
*/
exports.send = (serviceName, newListings) => {
return Promise.resolve(console.info(`Found entry from service ${serviceName}:`, newListings))
return [Promise.resolve(console.info(`Found entry from service ${serviceName}:`, newListings))];
};
/**