Skip to content

Commit

Permalink
Update helper, write tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemBaskal committed May 28, 2020
1 parent 92f4c34 commit e72e86c
Show file tree
Hide file tree
Showing 8 changed files with 8,295 additions and 4,296 deletions.
16 changes: 0 additions & 16 deletions client/.babelrc

This file was deleted.

14 changes: 14 additions & 0 deletions client/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = (api) => {
api.cache(false);
return {
presets: [
'@babel/preset-env',
'@babel/preset-react',
],
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-transform-runtime',
'@babel/plugin-proposal-object-rest-spread',
],
};
};
5 changes: 5 additions & 0 deletions client/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
transform: {
'^.+\\.jsx?$': 'babel-jest',
},
};
Loading

0 comments on commit e72e86c

Please sign in to comment.