Skip to content

Commit

Permalink
Merge pull request #29 from mringer/mr-export-and-or
Browse files Browse the repository at this point in the history
Add and/or functions to public API
  • Loading branch information
thebigredgeek authored May 16, 2018
2 parents 6a9722f + 0af26f2 commit 0703f59
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { usePromise } from './promise';
import { combineResolvers } from './helper';
import { combineResolvers, and, or } from './helper';
import { createExpressContext } from './context';
import { createResolver } from './resolver';

export {
usePromise,
combineResolvers,
createExpressContext,
createResolver
createResolver,
and,
or
};
6 changes: 4 additions & 2 deletions test/unit/index_spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect } from 'chai';

import {
combineResolvers
combineResolvers, and, or
} from '../../dist/helper';

import {
Expand All @@ -24,7 +24,9 @@ describe('(unit) dist/index.js', () => {
combineResolvers,
usePromise,
createExpressContext,
createResolver
createResolver,
and,
or
});
})
})

0 comments on commit 0703f59

Please sign in to comment.