diff --git a/src/index.ts b/src/index.ts index 23f79e0..5643b1a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ import { usePromise } from './promise'; -import { combineResolvers } from './helper'; +import { combineResolvers, and, or } from './helper'; import { createExpressContext } from './context'; import { createResolver } from './resolver'; @@ -7,5 +7,7 @@ export { usePromise, combineResolvers, createExpressContext, - createResolver + createResolver, + and, + or }; diff --git a/test/unit/index_spec.js b/test/unit/index_spec.js index 33ba209..f1571cc 100644 --- a/test/unit/index_spec.js +++ b/test/unit/index_spec.js @@ -1,7 +1,7 @@ import { expect } from 'chai'; import { - combineResolvers + combineResolvers, and, or } from '../../dist/helper'; import { @@ -24,7 +24,9 @@ describe('(unit) dist/index.js', () => { combineResolvers, usePromise, createExpressContext, - createResolver + createResolver, + and, + or }); }) })