jest_mock Running this command to compile all your code from the src directory to lib: ./node_modules/.bin/babel src --out-dir lib