Skip to content

Commit

Permalink
Add jest test
Browse files Browse the repository at this point in the history
  • Loading branch information
thabti committed Mar 29, 2018
1 parent dedc27a commit 18df5f1
Show file tree
Hide file tree
Showing 8 changed files with 2,307 additions and 366 deletions.
12 changes: 3 additions & 9 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
{
"presets": [
"es2015",
"stage-2",
"react"
],
"plugins": [
"transform-react-require"
]
}
"presets": ["env", "es2015", "stage-2", "react"],
"plugins": ["transform-react-require"]
}
15 changes: 7 additions & 8 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@
"classes": true,
"jsx": true
},
"plugins": [
"react"
],
"plugins": ["react", "jest"],
"settings": {
"import/resolver": "webpack"
},
"parserOptions":{
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
Expand All @@ -36,13 +34,14 @@
"__DEVTOOLS__": true,
"socket": true,
"webpackIsomorphicTools": true,
ga: true,
Raven: true,
mixpanel: true,
"ga": true,
"Raven": true,
"mixpanel": true,
"expect": true,
"browser": true,
"FB": true,
sinon: true
"sinon": true,
"jest": true
},
"env": {
"mocha": true,
Expand Down
Loading

0 comments on commit 18df5f1

Please sign in to comment.