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

✨ Stop repeating the error twice in reports #3638

Merged
merged 15 commits into from
Feb 23, 2023
Merged

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Feb 19, 2023

While the change could have been considered as a bug fix, I prefer including it as a fresh new feature to avoid risks of breaking people relying on this bug.

I don't really consider it to be a behaviour change. It mostly changes a stringified version of the error which comes in addition to a raw version of it. So not worth a major.

Fixes #3634

Category:

  • ✨ Introduce new features
  • 📝 Add or update documentation
  • ✅ Add or update tests
  • 🐛 Fix a bug
  • 🏷️ Add or update types
  • ⚡️ Improve performance
  • Other(s): ...

Potential impacts:

  • Generated values
  • Shrink values
  • Performance
  • Typings
  • Other(s): ...

While the change could have been considered as a bug fix, I prefer including it as a fresh new feature to avoid risks of breaking people relying on this bug.

Fixes #3634
@codesandbox-ci
Copy link

codesandbox-ci bot commented Feb 19, 2023

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 96ba665:

Sandbox Source
Vanilla Configuration
@fast-check/examples Configuration

@codecov
Copy link

codecov bot commented Feb 23, 2023

Codecov Report

Merging #3638 (96ba665) into main (165fe6a) will decrease coverage by 0.04%.
The diff coverage is 84.61%.

@@            Coverage Diff             @@
##             main    #3638      +/-   ##
==========================================
- Coverage   95.68%   95.65%   -0.04%     
==========================================
  Files         201      201              
  Lines        5197     5206       +9     
  Branches     1105     1106       +1     
==========================================
+ Hits         4973     4980       +7     
- Misses        215      217       +2     
  Partials        9        9              
Flag Coverage Δ
unit-tests 95.65% <84.61%> (-0.04%) ⬇️
unit-tests-14.x-Linux 95.65% <84.61%> (-0.04%) ⬇️
unit-tests-16.x-Linux 95.65% <84.61%> (-0.04%) ⬇️
unit-tests-18.x-Linux ?
unit-tests-latest-Linux 95.65% <84.61%> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
packages/fast-check/src/utils/globals.ts 82.23% <77.77%> (-0.17%) ⬇️
...-check/src/check/property/AsyncProperty.generic.ts 94.23% <100.00%> (ø)
.../fast-check/src/check/property/Property.generic.ts 98.14% <100.00%> (ø)
...heck/src/check/runner/utils/RunDetailsFormatter.ts 65.21% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@dubzzz dubzzz merged commit df98c64 into main Feb 23, 2023
@dubzzz dubzzz deleted the do-not-repeat-stacks branch February 23, 2023 22:38
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.

Jest: expected/received diff appears twice
1 participant