-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #626 from huafu/feature/upgrade-babel-and-fix-tsco…
…nfig upgrade deps - coverage, caching and source-mapping fixes, ...
- Loading branch information
Showing
94 changed files
with
1,887 additions
and
1,485 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- First of all, check the troubleshooting wiki page for common issues at: | ||
https://github.com/kulshekhar/ts-jest/wiki/Troubleshooting --> | ||
|
||
## Issue <!-- describe the issue below -->: | ||
|
||
|
||
## Expected behavior <!-- describe the expected behavior below -->: | ||
|
||
|
||
## Output from debug log <!-- You can activate the debug logger by setting the environment variable TS_JEST_DEBUG="true" before running yarn test. The output of the logger will be in **<your_project_dir>/node_modules/ts-jest/debug.txt**, paste it below -->: | ||
```bash | ||
# content of debug.txt : | ||
|
||
``` | ||
|
||
|
||
## Minimal repo <!-- If you haven't already, create the smallest possible repo that reproduces this issue by running `npm install` and `npm test`. This will speed up any fixes that this issue might need. Paste the minimal repo URL below -->: | ||
|
||
|
||
<!-- Optional (but highly recommended): Configure Travis (or your favorite system) with the minimal repo. This allows potential solutions to be tested against the minimal repo. This saves everyone time and avoids a lot of back and forth. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import getCacheKey from './utils/get-cache-key'; | ||
import preprocess from './preprocess'; | ||
|
||
const createTransformer = (options?: any): jest.Transformer => { | ||
// options are always empty, must be the older jest API giving options here | ||
return { | ||
canInstrument: true, | ||
getCacheKey, | ||
process: preprocess, | ||
createTransformer: undefined as any, | ||
}; | ||
}; | ||
|
||
const mod = createTransformer(); | ||
mod.createTransformer = createTransformer; | ||
export = mod; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.