From 4c69406c42c2b7869c5c9bd139fe47df489a8b9a Mon Sep 17 00:00:00 2001 From: Huafu Gandon Date: Sat, 1 Sep 2018 08:43:26 +0200 Subject: [PATCH] test(module): ensures `pathsToModuleNameMapper` is exported --- src/index.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.spec.ts b/src/index.spec.ts index 7640bc4600..8e6929782e 100644 --- a/src/index.spec.ts +++ b/src/index.spec.ts @@ -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 }) })