Skip to content

Commit 4c69406

Browse files
committed
test(module): ensures pathsToModuleNameMapper is exported
1 parent 7b8598e commit 4c69406

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/index.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ describe('ts-jest', () => {
2727
it('should export a `createJestPreset` function', () => {
2828
expect(typeof tsJest.createJestPreset).toBe('function')
2929
})
30+
it('should export a `pathsToModuleNameMapper` function', () => {
31+
expect(typeof tsJest.pathsToModuleNameMapper).toBe('function')
32+
})
3033
it('should export a `jestPreset` object', () => {
3134
expect(tsJest.jestPreset).toEqual({ jestPreset: true })
3235
})

0 commit comments

Comments
 (0)