From f0edd3b63e1a40140a07ba9649e7cf786479a378 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sun, 12 Mar 2017 17:28:52 +0100 Subject: [PATCH] Remove artficial testcase from property mapper code --- src/property-mapper.js | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/property-mapper.js b/src/property-mapper.js index c9d0d7a..493496b 100644 --- a/src/property-mapper.js +++ b/src/property-mapper.js @@ -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!" -}));