upgrade dependencies | fixing tests

This commit is contained in:
Christian Kellner
2019-03-16 13:01:35 +01:00
parent 3eef92c184
commit 0f71c8a32e
5 changed files with 1175 additions and 351 deletions

View File

@@ -4,7 +4,7 @@ const utils = require('../utils');
function normalize(o) {
const id = parseInt(o.id.substring(o.id.indexOf('_') + 1, o.id.length));
const size = o.size.replace('Wohnfläche ', '');
const size = o.size != null ? o.size.replace('Wohnfläche ', '') : 'N/A m²';
const price = o.price.replace('Kaufpreis ', '');
const address = o.address.split(' • ')[1];