I need to run my jest command for unit testing react application using grunt. Is there any way I can set up a grunt task for the same and configure it to execute the jest command? Currently I am using npm run test
to execute jest. For the same I have configured my package.json
with a test script that executes jest.
"test": "jest"
How can I achieve the same using Grunt task?