Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove production dependency on "jest" and "@jest/globals", only depend on "jest-mock" #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thecopy
Copy link

@thecopy thecopy commented Oct 24, 2024

Hello!

Thanks for this very useful library.

This PR removes dependencies on jest and @jest/globals.

Reasoning:

  • Reduces dependencies/footprint
  • Comaptible with native Node test runner.

I suspect supporting non-Jest test runners are probably not within scope of this libary, however, jest-mock is an official jest package exposing the functionality this library need.

 PASS  src/Matchers.spec.ts
 PASS  src/Mock.spec.ts

Test Suites: 2 passed, 2 total
Tests:       161 passed, 161 total
Snapshots:   0 total
Time:        1.112 s, estimated 2 s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant