Skip to content

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Jul 9, 2025

Description

When running our Vitest plugin against v3 of fast-check some users might suffer from the fact that the diff is shallow by default. This is not be the case of the dafult setup when relying on our plugin.

As such this PR makes sure that the default will avoid it.

Fixes #5995

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 pnpm run bump and flag the impacts properly
  • My PR adds relevant tests and they would have failed without my PR (when applicable)

Advanced

  • Category: ...
  • Impacts: ...

When running our Vitest plugin against v3 of fast-check some users might suffer from the fact that the diff is shallow by default. This is not be the case of the dafult setup when relying on our plugin.

As such this PR makes sure that the default will avoid it.

Fixes #5995
Copy link

changeset-bot bot commented Jul 9, 2025

🦋 Changeset detected

Latest commit: 5277941

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@fast-check/vitest Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Jul 9, 2025

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

Copy link

pkg-pr-new bot commented Jul 9, 2025

@fast-check/examples

@fast-check/ava

npm i https://pkg.pr.new/@fast-check/ava@6048

@fast-check/expect-type

npm i https://pkg.pr.new/@fast-check/expect-type@6048

fast-check

npm i https://pkg.pr.new/fast-check@6048

@fast-check/jest

npm i https://pkg.pr.new/@fast-check/jest@6048

@fast-check/packaged

npm i https://pkg.pr.new/@fast-check/packaged@6048

@fast-check/poisoning

npm i https://pkg.pr.new/@fast-check/poisoning@6048

@fast-check/vitest

npm i https://pkg.pr.new/@fast-check/vitest@6048

@fast-check/worker

npm i https://pkg.pr.new/@fast-check/worker@6048

commit: 5277941

Copy link

codecov bot commented Jul 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.96%. Comparing base (48500da) to head (5277941).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6048   +/-   ##
=======================================
  Coverage   95.96%   95.96%           
=======================================
  Files         212      212           
  Lines       10142    10142           
  Branches     2755     2753    -2     
=======================================
  Hits         9733     9733           
  Misses        409      409           
Flag Coverage Δ
tests 95.96% <ø> (ø)
tests-against-22.x-on-macOS 95.96% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

github-actions bot commented Jul 9, 2025

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

@dubzzz dubzzz enabled auto-merge (squash) July 9, 2025 23:02
@dubzzz dubzzz merged commit e1bddb1 into main Jul 9, 2025
45 checks passed
@dubzzz dubzzz deleted the full-diff branch July 9, 2025 23:04
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.

fast-check vitest diffing is shallow
1 participant