Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit84ff69b

Browse files
committed
Uses ts-jest for preprocessing
@kulshekhar's `ts-jest` plugin gives us sourcemap support. For the sakeof debugging test output and coverage reports, let's use it!
1 parentd72edc1 commit84ff69b

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

‎package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"react-addons-test-utils":"^15.3.0",
3434
"sinon":"1.17.4",
3535
"source-map-loader":"0.1.5",
36+
"ts-jest":"^17.0.3",
3637
"ts-loader":"^0.8.2",
3738
"tslint":"^3.14.0",
3839
"typescript":"2.0.3",
@@ -48,7 +49,7 @@
4849
"js"
4950
],
5051
"transform": {
51-
"^.+\\.(ts|tsx)$":"<rootDir>/preprocessor.js"
52+
"\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"
5253
},
5354
"testRegex":"/__tests__/.*\\.(ts|tsx|js)$"
5455
}

‎preprocessor.js‎

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp