<NME> parseProps-test.js
<BEF> ADDFILE
<MSG> Merge pull request #3 from nkbt/template

[WIP]  Should generate a fresh package using prod-module-boilerplate, fixes #2
<DFF> @@ -0,0 +1,17 @@
+import {test} from 'blue-tape';
+import parseProps from '../../lib/parseProps';
+
+
+test('Parse props', t => {
+  t.ok(parseProps instanceof Function, 'should be function');
+
+  t.ok(parseProps() instanceof Function, 'should return function');
+
+  t.deepEqual(parseProps()({'x.y': 2}), {x: {y: 2}},
+    'should parse dot-delimited props into nested objects');
+
+  t.deepEqual(parseProps({x: {a: 1}})({'x.y': 2}), {x: {a: 1, y: 2}},
+    'should merge parsed data into defaults object');
+
+  t.end();
+});

Merge pull request #3 from nkbt/template