Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rimiti/simple-git-mock
🦄 "simple-git" Jest mock example
https://github.com/rimiti/simple-git-mock
git jest jest-tests mocking simple-git test testing
Last synced: about 4 hours ago
JSON representation
🦄 "simple-git" Jest mock example
- Host: GitHub
- URL: https://github.com/rimiti/simple-git-mock
- Owner: rimiti
- License: mit
- Created: 2021-03-29T08:22:51.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T06:20:36.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T13:28:52.917Z (6 months ago)
- Topics: git, jest, jest-tests, mocking, simple-git, test, testing
- Language: JavaScript
- Homepage: https://dimsolution.com
- Size: 787 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# simple-git-mock
[![MIT License][license-badge]][license]
[![PRs Welcome][prs-badge]][prs]## Description
Simple example to show you how to mock [simple-git](https://github.com/steveukx/git-js) package with Jest.
## Scripts
Run using npm run command.
test - runs Jest
## License
MIT © [Dimitri DO BAIRRO](https://github.com/rimiti/simple-git-mock/blob/master/LICENSE)
[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square
[license]: https://github.com/rimiti/simple-git-mock/blob/master/LICENSE
[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
[prs]: http://makeapullrequest.com