Skip to content

Commit

Permalink
BUGFIX: Transpile all js files via babel-jest to avoid unexpected cha…
Browse files Browse the repository at this point in the history
…racter errors with flow types
  • Loading branch information
Inkdpixels committed Dec 23, 2017
1 parent ea167db commit d300a13
Show file tree
Hide file tree
Showing 3 changed files with 1,749 additions and 589 deletions.
17 changes: 7 additions & 10 deletions jest-preset.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"collectCoverageFrom": [
"src/**/*.js"
],
"collectCoverageFrom": ["src/**/*.js"],
"coverageThreshold": {
"global": {
"branches": 70,
Expand All @@ -10,13 +8,12 @@
"statements": 70
}
},
"testMatch": [
"<rootDir>/src/**/?(*.)spec.js"
],
"testMatch": ["<rootDir>/src/**/?(*.)spec.js"],
"testEnvironment": "node",
"testURL": "http://localhost",
"moduleFileExtensions": [
"js",
"json"
]
"transform": {
"^.+\\.js$": "babel-jest"
},
"transformIgnorePatterns": ["node_modules/(?!@immowelt)"],
"moduleFileExtensions": ["js", "json"]
}
Loading

0 comments on commit d300a13

Please sign in to comment.