Skip to content

Commit 84ba950

Browse files
author
Amir Tocker
committed
Update tests configuration
1 parent 23b4fbb commit 84ba950

File tree

2 files changed

+103
-1
lines changed

2 files changed

+103
-1
lines changed

package-lock.json

Lines changed: 101 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Present Cloudinary images and videos using React components",
55
"main": "lib/index.js",
66
"scripts": {
7-
"test": "node_modules/.bin/mocha --require babel-core/register test/.setup.js --recursive test",
7+
"test": "node_modules/.bin/mocha --require @babel/register test/.setup.js --recursive test",
88
"compile": "node_modules/.bin/babel -v --copy-files src -d lib ",
99
"dist": "node_modules/.bin/webpack",
1010
"storybook": "start-storybook -p 6006",
@@ -26,6 +26,7 @@
2626
"@babel/plugin-proposal-export-default-from": "^7.2.0",
2727
"@babel/preset-env": "^7.2.0",
2828
"@babel/preset-react": "^7.0.0",
29+
"@babel/register": "^7.0.0",
2930
"@storybook/addon-actions": "^4.1.2",
3031
"@storybook/addon-info": "^4.1.2",
3132
"@storybook/addon-links": "^4.1.2",

0 commit comments

Comments
 (0)