- move SlateEditor and dependencies to its own folder
- remove Immutable
- remove redux-persist-immutable
- remobe redux-immutable
- update libraries
- added tests on store manipulations (accessor and reducers)
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'}
)
});
});