Open drBenway opened 5 years ago
Would be nice if the repo has unit tests. It helps contributers in better understanding/extending the code. expl for jest: npm install --save-dev jest Jest doesn't understand es6 imports so adding a bablerc file with
npm install --save-dev jest
{ "env": { "test": { "plugins": ["transform-es2015-modules-commonjs"] } } }
and install the transform plugin npm install --save-dev babel-plugin-transform-es2015-modules-commonjs
npm install --save-dev babel-plugin-transform-es2015-modules-commonjs
Would be nice if the repo has unit tests. It helps contributers in better understanding/extending the code. expl for jest:
npm install --save-dev jest
Jest doesn't understand es6 imports so adding a bablerc file withand install the transform plugin
npm install --save-dev babel-plugin-transform-es2015-modules-commonjs