Skip to content

Commit

Permalink
test(module): ensures pathsToModuleNameMapper is exported
Browse files Browse the repository at this point in the history
  • Loading branch information
huafu committed Sep 1, 2018
1 parent 7b8598e commit 4c69406
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ describe('ts-jest', () => {
it('should export a `createJestPreset` function', () => {
expect(typeof tsJest.createJestPreset).toBe('function')
})
it('should export a `pathsToModuleNameMapper` function', () => {
expect(typeof tsJest.pathsToModuleNameMapper).toBe('function')
})
it('should export a `jestPreset` object', () => {
expect(tsJest.jestPreset).toEqual({ jestPreset: true })
})
Expand Down

0 comments on commit 4c69406

Please sign in to comment.