Instruction on using umi-test (jest) with antd pro and flow
Install "Flow" plugin for babel
cd calc
npm i --dev transform-flow-strip-types
Create ".babelrc" in the project root an add plugin to it
{
"plugins": [
"transform-flow-strip-types"
]
}
Run tests
npm test