| changeset 168 | ea92f4fe783d |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/src/store/__tests__/record.test.js Mon Oct 08 18:35:47 2018 +0200 @@ -0,0 +1,13 @@ +import { Record } from '../index'; + +describe('test on record', () => { + it('Test simple record creation', () => { + const TestRecord = Record({ foo: 'bar', hello: 'world'}); + + expect( + TestRecord({ a: 'b', foo: 'foobar' }) + ).toEqual( + { foo: 'foobar', hello: 'world'} + ) + }); +});