### Project Time ![Time](https://waka.mpassarello.de/api/badge/MaxP/interval:any/project:TSinjex?label=Project%20time) ### Test Coverage [Coverage Report..](https://pxammaxp.github.io/TSinjex/coverage/lcov-report/index.html) | Statements | Branches | Functions | Lines | | --------------------------- | ----------------------- | ------------------------- | ----------------- | | ![Statements](https://pxammaxp.github.io/TSinjex/coverage/badges/badge-statements.svg) | ![Branches](https://pxammaxp.github.io/TSinjex/coverage/badges/badge-branches.svg) | ![Functions](https://pxammaxp.github.io/TSinjex/coverage/badges/badge-functions.svg) | ![Lines](https://pxammaxp.github.io/TSinjex/coverage/badges/badge-lines.svg) | # TSinjex ## Configuration ### Jest #### Example jest setup ```ts module.exports = { setupFilesAfterEnv: ['./scripts/jest.setup.js'], preset: 'ts-jest', testEnvironment: 'node', testMatch: ['**/__tests__/**/*.test.ts', '**/?(*.)+(test).ts'], moduleDirectories: ['node_modules', 'src'], moduleNameMapper: { '^src/(.*)$': '/src/$1', // Map src to the source folder '^ts-injex$': '/node_modules/ts-injex/src', // Map ts-injex to the source folder }, transformIgnorePatterns: [ 'node_modules/(?!ts-injex)' // **Dont** ignore ts-injex on preset `ts-jest` ], }; ```