Skip to content

Commit

Permalink
Add Jest for js testing
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexCatch committed Jul 22, 2018
1 parent 4a01e34 commit ea24fab
Show file tree
Hide file tree
Showing 6 changed files with 2,298 additions and 237 deletions.
36 changes: 36 additions & 0 deletions .babelrc
@@ -0,0 +1,36 @@
{
"env": {
"test": {
"presets": [
["env", {
"targets": {
"node": "current"
}
}]
]
},
"development": {
"presets": [
["env", {
"modules": false,
"targets": {
"browsers": "> 2%",
"uglify": true
}
}]
]
},
"production": {
"presets": [
["env", {
"modules": false,
"targets": {
"browsers": "> 2%",
"uglify": true
}
}]
]
}
},
"presets": ["react"]
}

0 comments on commit ea24fab

Please sign in to comment.