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

✨ Introduce new fc.noShrink arbitrary #5047

Merged
merged 4 commits into from
Jun 6, 2024
Merged

✨ Introduce new fc.noShrink arbitrary #5047

merged 4 commits into from
Jun 6, 2024

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Jun 6, 2024

Description

While noShrink used to be a thing directly provided on the arbitrary since version 0.0.9, we want to extract it as an independant arbitrary.

Such extraction would allow us to reduce the API surface of the arbitraries to a smaller subset of methods. Aim being to reduce as much of possible the API users will have to deal with from the arbitrary itself.

Related to the PR #4162

ChecklistDon't delete this checklist and make sure you do the following before opening the PR

  • The name of my PR follows gitmoji specification
  • My PR references one of several related issues (if any)
    • New features or breaking changes must come with an associated Issue or Discussion
    • My PR does not add any new dependency without an associated Issue or Discussion
  • My PR includes bumps details, please run yarn bump and flag the impacts properly
  • My PR adds relevant tests and they would have failed without my PR (when applicable)

Advanced

  • Category: ✨ Introduce new features
  • Impacts: Deprecated Arbitrary.prototype.noShrink

While `noShrink` used to be a thing directly provided on the arbitrary since version 0.0.9, we want to extract it as an independant arbitrary.

Such extraction would allow us to reduce the API surface of the arbitraries to a smaller subset of methods. Aim being to reduce as much of possible the API users will have to deal with from the arbitrary itself.
Copy link

codesandbox-ci bot commented Jun 6, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 6147b58:

Sandbox Source
@fast-check/examples Configuration

Copy link

codesandbox-ci bot commented Jun 6, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 774d49a:

Sandbox Source
@fast-check/examples Configuration

Copy link
Contributor

github-actions bot commented Jun 6, 2024

👋 A preview of the new documentation is available at: http://6661108bb4321a29b807da46--dubzzz-fast-check.netlify.app

@dubzzz dubzzz enabled auto-merge (squash) June 6, 2024 01:29
Copy link

codesandbox-ci bot commented Jun 6, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit c9c2d72:

Sandbox Source
@fast-check/examples Configuration

Copy link
Contributor

github-actions bot commented Jun 6, 2024

👋 A preview of the new documentation is available at: http://66611302063eb0286907b7f5--dubzzz-fast-check.netlify.app

@dubzzz dubzzz merged commit 5c31d63 into main Jun 6, 2024
56 of 57 checks passed
@dubzzz dubzzz deleted the no-shrink branch June 6, 2024 01:39
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