Open MattJakeman opened 5 years ago
Seems like worker-farm is using Babel 6, which means Babel 7 projects can’t work with it. #16 may be related.
In that case, it looks like PR #18 will fix it. Is there any chance of getting that merged?
I tried using the fork at https://github.com/patrickdawson/jest-runner-mocha directly using:
yarn add file:/xxxx/xxxx/xxxx/jest-runner-mocha
I was attempting this to see if the update in PR #18 would fix my issues. However I'm having some troubl with it and Jest throws an error, as follows:
Validation Error:
Jest Runner jest-runner-mocha cannot be found. Make sure the runner configuration option points to an existing node module.
Any pointers as to how I could get this up and running in my project from a local copy of the runner?
I started using this yesterday and it's all working great apart from coverage. It seems to load in babel-core 6 and I get the error :
A yarn why brings back the following:
Is there any way to force Babel 7 when running coverage? I'm using the following config options:
I'm presuming the compiler option is being ignored when using coverage for some reason. I'd be happy to submit a PR but might need a pointer on where to start...