edce66c44d
* move ImportDialogBox into a folder * install enzyme * start testing InfoAndHelp component * add star logic to tests * switch ImportDialogBox to using enzyme but tests are still failing * make `npm run test` work * tests pass again * eslint * try to fix travis by adding react-addons-test-utils again * eslintrc for test dir * remove duplicated code * fix * try to suppress 2 warnings
15 lines
328 B
JavaScript
15 lines
328 B
JavaScript
const config = require('./webpack.config')
|
|
|
|
config.target = 'node'
|
|
config.externals = config.externals.concat([
|
|
'react/lib/ExecutionEnvironment',
|
|
'react/lib/ReactContext',
|
|
'react/addons',
|
|
'react-test-renderer/shallow',
|
|
'react-dom/test-utils',
|
|
'canvas',
|
|
'bufferutil',
|
|
'utf-8-validate'
|
|
])
|
|
|
|
module.exports = config
|