Using this with flow
Opened this issue · 3 comments
simlu commented
I've tried to configure this to run with flow and somehow it doesn't work.
Anyone had success with this? I'm basically following the instructions for Running ES2015+ tests with ES2015+ sources (through Babel-CLI)
, but using flow instead. It should work?
simlu commented
Basic Steps:
installing
"babel-cli": "6.26.0",
"babel-preset-flow": "6.23.0",
"babel-register": "6.26.0",
"istanbul": "1.0.0-alpha.2",
Adding options
nodeExec: require.resolve('.bin/babel-node'),
and
mochaOptions: ['--require', 'babel-register', ...
and .babelrc
{
"presets": ["flow"]
}
Somehow the coverage doesn't get picked up correctly It seems.
pocesar commented