Skip to content

Commit

Permalink
Export relationship() function.
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboyd committed Apr 26, 2019
1 parent ebb6ae5 commit f1c1d37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
3 changes: 3 additions & 0 deletions tests/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});

0 comments on commit f1c1d37

Please sign in to comment.