execa-mock-jest
Mock execa for Jest
Install
$ npm install --save execa-mock-jest
Usage
Use as a manual mock:
// __mocks__/execa.jsmoduleexports = ;
// something.test.jsconst execa = ; ;
Nota Bene
Results order is not reliable when used with concurrent tests.