Remove artficial testcase from property mapper code

master
Sven Slootweg 7 years ago
parent 8c380ff7d6
commit f0edd3b63e

@ -88,27 +88,3 @@ module.exports = function createPropertyMapper(propertyMap) {
}, {})
}
};
let mapper = module.exports({
foo: "one",
bar: "two",
twoFoo: "two.foo",
baz: (value) => {
return {
one: {
baz: value
},
two: {
baz: value
}
}
}
});
console.log(mapper({
foo: "hello one foo!",
bar: "hello two bar!",
twoFoo: "hello two foo!",
baz: "hello baz!",
"one.bar": "hello one bar!"
}));

Loading…
Cancel
Save