Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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