Conversation
Pull Request Test Coverage Report for Build 4253
💛 - Coveralls |
| | **Installing** | `npm i -D ts-jest @types/jest` | `yarn add --dev ts-jest @types/jest` | | ||
| | **Creating config** | `npx ts-jest config:init` | `yarn ts-jest config:init` | | ||
| | **Running tests** | `npm t` or `npx jest` | `yarn test` or `yarn jest` | | ||
| | | using npm | using yarn | |
There was a problem hiding this comment.
Auto-formatted also.
| * [TypeScript](https://www.typescriptlang.org/) - JavaScript that scales | ||
| * [Jest](https://jestjs.io/) - Delightful JavaScript Testing | ||
| * [`ts-jest`](https://kulshekhar.github.io/ts-jest) - Jest processor for TypeScript _(yes, `ts-jest` uses itself for its tests)_ | ||
| - [TypeScript](https://www.typescriptlang.org/) - JavaScript that scales |
There was a problem hiding this comment.
Auto-formatted also.
| * **Gustav Wengel** - [GeeWee](https://github.com/GeeWee) | ||
| * **Ahn** - [ahnpnl](https://github.com/ahnpnl) | ||
| * **Huafu Gandon** - [huafu](https://github.com/huafu) | ||
| - **Kulshekhar Kabra** - [kulshekhar](https://github.com/kulshekhar) |
There was a problem hiding this comment.
Auto-formatted also.
| } | ||
| ``` | ||
|
|
||
| - Check if module name is properly mapped and can be referenced by jest. If not add this on your existing jest configuration. |
There was a problem hiding this comment.
Perhaps we can change the text to Check if module name is properly mapped and can be referenced by jest. If not, you can define moduleNameMapper for your jest configuration.
There was a problem hiding this comment.
Ok I will change this line.
| module.exports = { | ||
| ... | ||
| moduleNameMapper: { | ||
| "^.*shared/(.*)": "<rootDir>/src/shared/$1", |
There was a problem hiding this comment.
Can we use placeholder example here, something like "<import-path>": "<rootDir>/<real-physical-path>"
| @@ -0,0 +1,43 @@ | |||
| # Troubleshooting | |||
|
|
|||
| This serves as a troubleshooting guide for any ts-jest related issues. | |||
There was a problem hiding this comment.
Ok I will remove this line.
|
Hi @mackignacio , would you please change your PR to only contain the new |
|
@ahnpnl I already applied the changes on the reviews. |
Changes
Troubleshootingsection in README.md file