Use rewire to test unexported functions
This commit is contained in:
parent
0dcfcbbafd
commit
6c7bf0d81a
5 changed files with 13 additions and 3 deletions
|
@ -20,7 +20,10 @@
|
|||
"plugins": ["react-hot-loader/babel"]
|
||||
},
|
||||
"test": {
|
||||
"plugins": ["transform-es2015-modules-commonjs"]
|
||||
"plugins": [
|
||||
"rewire",
|
||||
"transform-es2015-modules-commonjs"
|
||||
]
|
||||
},
|
||||
"production": {
|
||||
"plugins": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue