americanexpress / jest-image-snapshot

✨ Jest matcher for image comparisons. Most commonly used for visual regression testing.
Apache License 2.0
3.81k stars 197 forks source link

build: make jest optional peerDependency #322

Closed noomorph closed 1 year ago

noomorph commented 1 year ago

Resolves #313.

Description

Makes jest peerDependency less strict, because some other testing libraries also support that jest.extend interface apparently (according to #313).

Motivation and Context

I was passing by that issue and decided to help. 🤷‍♂️

How Has This Been Tested?

This is a relatively trivial change.

Types of Changes

Checklist:

What is the Impact to Developers Using Jest-Image-Snapshot?

The library still would warn about incorrect Jest versions but it should not complain about Jest not being installed.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

noomorph commented 1 year ago

Thank you!

oneamexbot commented 11 months ago

:tada: This PR is included in version 6.1.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: