-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ebd669
commit e48be9d
Showing
4 changed files
with
582 additions
and
518 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ jobs: | |
steps: | ||
- env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
uses: rokroskar/[email protected].0 | ||
uses: rokroskar/[email protected].2 | ||
release: | ||
needs: test | ||
runs-on: ubuntu-latest | ||
|
@@ -43,15 +43,16 @@ jobs: | |
node-version: ${{ matrix.node }} | ||
- run: yarn --frozen-lockfile | ||
- run: yarn test | ||
- if: failure() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
path: "**/__image_snapshots__/__diff_output__" | ||
- run: yarn check-unknown-files | ||
- env: | ||
COVERALLS_GIT_BRANCH: ${{ github.ref }} | ||
COVERALLS_GIT_COMMIT: ${{ github.sha }} | ||
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
COVERALLS_SERVICE_NAME: github | ||
if: matrix.os == 'ubuntu-latest' && matrix.node == 12 | ||
name: Coveralls | ||
run: yarn dw-ci coveralls | ||
- if: matrix.os == 'ubuntu-latest' && matrix.node == 12 | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
fail_ci_if_error: true | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
strategy: | ||
matrix: | ||
exclude: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,34 +3,46 @@ | |
<!-- /TITLE --> | ||
|
||
<!-- BADGES/ --> | ||
[![NPM version](https://img.shields.io/npm/v/expect-mocha-image-snapshot.svg)](https://npmjs.org/package/expect-mocha-image-snapshot) | ||
![Linux macOS Windows compatible](https://img.shields.io/badge/os-linux%20%7C%C2%A0macos%20%7C%C2%A0windows-blue) | ||
[![Build status](https://github.com/dword-design/expect-mocha-image-snapshot/workflows/build/badge.svg)](https://github.com/dword-design/expect-mocha-image-snapshot/actions) | ||
[![Coverage status](https://img.shields.io/coveralls/dword-design/expect-mocha-image-snapshot)](https://coveralls.io/github/dword-design/expect-mocha-image-snapshot) | ||
[![Dependency status](https://img.shields.io/david/dword-design/expect-mocha-image-snapshot)](https://david-dm.org/dword-design/expect-mocha-image-snapshot) | ||
![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen) | ||
|
||
<a href="https://gitpod.io/#https://github.com/dword-design/bar"> | ||
<img src="https://gitpod.io/button/open-in-gitpod.svg" alt="Open in Gitpod"> | ||
</a><a href="https://www.buymeacoffee.com/dword"> | ||
<img | ||
src="https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg" | ||
alt="Buy Me a Coffee" | ||
height="32" | ||
> | ||
</a><a href="https://paypal.me/SebastianLandwehr"> | ||
<img | ||
src="https://dword-design.de/images/paypal.svg" | ||
alt="PayPal" | ||
height="32" | ||
> | ||
</a><a href="https://www.patreon.com/dworddesign"> | ||
<img | ||
src="https://dword-design.de/images/patreon.svg" | ||
alt="Patreon" | ||
height="32" | ||
> | ||
</a> | ||
<p> | ||
<a href="https://npmjs.org/package/expect-mocha-image-snapshot"> | ||
<img | ||
src="https://img.shields.io/npm/v/expect-mocha-image-snapshot.svg" | ||
alt="npm version" | ||
> | ||
</a><img src="https://img.shields.io/badge/os-linux%20%7C%C2%A0macos%20%7C%C2%A0windows-blue" alt="Linux macOS Windows compatible"><a href="https://github.com/dword-design/expect-mocha-image-snapshot/actions"> | ||
<img | ||
src="https://github.com/dword-design/expect-mocha-image-snapshot/workflows/build/badge.svg" | ||
alt="Build status" | ||
> | ||
</a><a href="https://codecov.io/gh/dword-design/expect-mocha-image-snapshot"> | ||
<img | ||
src="https://codecov.io/gh/dword-design/expect-mocha-image-snapshot/branch/master/graph/badge.svg" | ||
alt="Coverage status" | ||
> | ||
</a><a href="https://david-dm.org/dword-design/expect-mocha-image-snapshot"> | ||
<img src="https://img.shields.io/david/dword-design/expect-mocha-image-snapshot" alt="Dependency status"> | ||
</a><img src="https://img.shields.io/badge/renovate-enabled-brightgreen" alt="Renovate enabled"><br/><a href="https://gitpod.io/#https://github.com/dword-design/expect-mocha-image-snapshot"> | ||
<img src="https://gitpod.io/button/open-in-gitpod.svg" alt="Open in Gitpod"> | ||
</a><a href="https://www.buymeacoffee.com/dword"> | ||
<img | ||
src="https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg" | ||
alt="Buy Me a Coffee" | ||
height="32" | ||
> | ||
</a><a href="https://paypal.me/SebastianLandwehr"> | ||
<img | ||
src="https://dword-design.de/images/paypal.svg" | ||
alt="PayPal" | ||
height="32" | ||
> | ||
</a><a href="https://www.patreon.com/dworddesign"> | ||
<img | ||
src="https://dword-design.de/images/patreon.svg" | ||
alt="Patreon" | ||
height="32" | ||
> | ||
</a> | ||
</p> | ||
<!-- /BADGES --> | ||
|
||
<!-- DESCRIPTION/ --> | ||
|
@@ -45,7 +57,7 @@ This package uses a similar approach to make [jest-image-snapshot](https://www.n | |
## Install | ||
|
||
```bash | ||
# NPM | ||
# npm | ||
$ npm install expect-mocha-image-snapshot | ||
|
||
# Yarn | ||
|
@@ -101,13 +113,41 @@ expect.extend({ | |
``` | ||
|
||
<!-- LICENSE/ --> | ||
## License | ||
|
||
Unless stated otherwise all works are: | ||
## Contributing | ||
|
||
Are you missing something or want to contribute? Feel free to file an [issue](https://github.com/dword-design/expect-mocha-image-snapshot/issues) or [pull request](https://github.com/dword-design/expect-mocha-image-snapshot/pulls)! ⚙️ | ||
|
||
## Support Me | ||
|
||
Hey, I am Sebastian Landwehr, a freelance web developer, and I love developing web apps and open source packages. If you want to support me so that I can keep packages up to date and build more helpful tools, you can donate here: | ||
|
||
<p> | ||
<a href="https://www.buymeacoffee.com/dword"> | ||
<img | ||
src="https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg" | ||
alt="Buy Me a Coffee" | ||
height="32" | ||
> | ||
</a> If you want to send me a one time donation. The coffee is pretty good 😊.<br/> | ||
<a href="https://paypal.me/SebastianLandwehr"> | ||
<img | ||
src="https://dword-design.de/images/paypal.svg" | ||
alt="PayPal" | ||
height="32" | ||
> | ||
</a> Also for one time donations if you like PayPal.<br/> | ||
<a href="https://www.patreon.com/dworddesign"> | ||
<img | ||
src="https://dword-design.de/images/patreon.svg" | ||
alt="Patreon" | ||
height="32" | ||
> | ||
</a> Here you can support me regularly, which is great so I can steadily work on projects. | ||
</p> | ||
|
||
Thanks a lot for your support! ❤️ | ||
|
||
Copyright © Sebastian Landwehr <[email protected]> | ||
|
||
and licensed under: | ||
## License | ||
|
||
[MIT License](https://opensource.org/licenses/MIT) | ||
[MIT License](https://opensource.org/licenses/MIT) © [Sebastian Landwehr](https://dword-design.de) | ||
<!-- /LICENSE --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
"snapshot" | ||
], | ||
"repository": "dword-design/expect-mocha-image-snapshot", | ||
"funding": "https://www.buymeacoffee.com/dword", | ||
"license": "MIT", | ||
"author": "Sebastian Landwehr <[email protected]>", | ||
"main": "dist/index.js", | ||
|
Oops, something went wrong.