Skip to content

Commit c7b2315

Browse files
committed
[fix] - add babel-jest to support development in node v4
1 parent bd37aeb commit c7b2315

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
"babel-cli": "^6.14.0",
3030
"babel-core": "^6.14.0",
3131
"babel-eslint": "^7.0.0",
32+
"babel-jest": "^16.0.0",
33+
"babel-polyfill": "^6.16.0",
3234
"babel-preset-es2015": "^6.14.0",
3335
"coveralls": "^2.11.8",
3436
"eslint": "^3.0.0",
@@ -50,7 +52,9 @@
5052
"eslint": "^2.10.2 || 3.x"
5153
},
5254
"jest": {
53-
"coverageReporters": ["lcov"],
55+
"coverageReporters": [
56+
"lcov"
57+
],
5458
"coverageDirectory": "reports"
5559
}
5660
}

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ babel-helpers@^6.16.0:
331331
babel-runtime "^6.0.0"
332332
babel-template "^6.16.0"
333333

334-
babel-jest@^16.0.0:
334+
babel-jest, babel-jest@^16.0.0:
335335
version "16.0.0"
336336
resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-16.0.0.tgz#348729aea6d624a4774b8a934d07a40dd2cfd640"
337337
dependencies:
@@ -548,7 +548,7 @@ babel-plugin-transform-strict-mode@^6.8.0:
548548
babel-runtime "^6.0.0"
549549
babel-types "^6.8.0"
550550

551-
babel-polyfill@^6.16.0:
551+
babel-polyfill, babel-polyfill@^6.16.0:
552552
version "6.16.0"
553553
resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.16.0.tgz#2d45021df87e26a374b6d4d1a9c65964d17f2422"
554554
dependencies:

0 commit comments

Comments
 (0)