mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-16 19:05:05 +00:00
Add Jest to TypeScript (and update dependencies)
This commit is contained in:
1 parent
864f34ccc1
commit
b0f4a15245
13 files changed
+9585
-127
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import { pathsToModuleNameMapper } from "ts-jest/utils";
|
||||
const { compilerOptions } = require("./tsconfig");
|
||||
|
||||
export default {
|
||||
roots: ['<rootDir>/app', '<rootDir>/test/jest'],
|
||||
collectCoverage: true,
|
||||
coverageDirectory: 'coverage',
|
||||
coverageProvider: 'v8',
|
||||
transform: {
|
||||
'^.+\\.tsx?$': 'ts-jest',
|
||||
},
|
||||
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, { prefix: '<rootDir>/' } ),
|
||||
};
|
||||
Reference in new issue
Block a user