diff --git a/index.js b/index.js index 95711c7d..6b9c72c7 100644 --- a/index.js +++ b/index.js @@ -3,4 +3,5 @@ export { default as from } from './src/literal'; export { map, filter, reduce, find } from './src/query'; export { default as Store } from './src/identity'; export { metaOf, valueOf } from './src/meta'; +export { relationship } from './src/relationship.js'; export * from './src/types'; diff --git a/tests/index.test.js b/tests/index.test.js index 27237bc2..64203e3d 100644 --- a/tests/index.test.js +++ b/tests/index.test.js @@ -23,4 +23,7 @@ describe('index of module exports', () => { expect(index.metaOf).toBeInstanceOf(Function); expect(index.valueOf).toBeInstanceOf(Function); }); + it('has the relationship function', () => { + expect(index.relationship).toBeInstanceOf(Function); + }); });