From 81770051029f18881097b4d9e0bf30355e2788a1 Mon Sep 17 00:00:00 2001 From: Simon Kjellberg Date: Fri, 25 May 2018 20:02:20 +0200 Subject: [PATCH 1/2] fix(package): support jest v23 (#81) --- README.md | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 097788e..c4e7152 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Jest matcher that performs image comparisons using [pixelmatch](https://github.c npm i --save-dev jest-image-snapshot ``` - Please note that `Jest` `>=20 <=22` is a peerDependency. `jest-image-snapshot` will **not** work with anything below Jest 20.x.x + Please note that `Jest` `>=20 <=23` is a peerDependency. `jest-image-snapshot` will **not** work with anything below Jest 20.x.x ## Usage: 1. Extend Jest's `expect` diff --git a/package.json b/package.json index 7c9f9c1..43ea91e 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "eslint": "^4.15.0", "eslint-config-amex": "^7.0.0", "is-png": "^1.1.0", - "jest": "^22.0.0", + "jest": "^23.0.0", "mock-spawn": "^0.2.6" }, "dependencies": { @@ -59,6 +59,6 @@ "rimraf": "^2.6.2" }, "peerDependencies": { - "jest": ">=20 <=22" + "jest": ">=20 <=23" } } From 753c24cd7d6e4d387a62e25b2a46799aa44dfe2d Mon Sep 17 00:00:00 2001 From: Andres Escobar Date: Fri, 25 May 2018 09:54:38 -0700 Subject: [PATCH 2/2] docs(readme): add link to tech blog post --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c4e7152..7fe913f 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Jest matcher that performs image comparisons using [pixelmatch](https://github.c }); ``` -See [the examples](./examples/README.md) for more detailed usage +See [the examples](./examples/README.md) for more detailed usage or read about an example use case in the [American Express Technology Blog](https://americanexpress.io/smile-for-the-camera/) ### Optional configuration: