Closed francescobianco closed 3 years ago
Thanks for reporting.
Unfortunately shellmock
can't be installed through NPM. :(
On CI we just clone the repo and run their install script. (GitHub Actions Workflow)
I will add a setup.sh
script or something, which will setup everything required to run the tests locally.
This took a bit longer than expected.
I've rewritten the test suite in #128 to no longer mock git
. The tests can now be run by simply installing the testing dependencies with yarn
or npm
and then running yarn test
or npm run test
.
The README has been slightly updated to indicate, that node dependencies have to be installed. https://github.com/stefanzweifel/git-auto-commit-action#running-the-tests
Version of the Action
v4.x.x
Describe the bug Where the file
shellmock
is?To Reproduce Steps to reproduce the behavior:
npm install
npm run test
shellmock
Expected behavior All tests pass by default.