-
-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Better interrupt between multiple versions (#4981)
fast-check was badly behaving on cloning method, custom toString and assertions linked to pre when several versions of it were running at the same time. One of the case for that issue is ES module and CommonJS being mixed in the same test and leading fast-check to be loaded once in ESM and once in CJS. Another case is that user relies on two versions of fast-check due to a dependency forcing a version that is not the same as the one requested by the user or by another dependency (not the same meaning not compatible semver ranges). Fixes #4845 <!-- Context of the PR: short description and potentially linked issues --> <!-- ...a few words to describe the content of this PR... --> <!-- ... --> <!-- Type of PR: [ ] unchecked / [ ] checked --> **_Category:_** - [ ] ✨ Introduce new features - [ ] 📝 Add or update documentation - [ ] ✅ Add or update tests - [ ] 🐛 Fix a bug - [ ] 🏷️ Add or update types - [ ] ⚡️ Improve performance - [ ] _Other(s):_ ... <!-- Don't forget to add the gitmoji icon in the name of the PR --> <!-- See: https://gitmoji.dev/ --> <!-- Fixing bugs, adding features... may impact existing ones --> <!-- in order to track potential issues that could be related to your PR --> <!-- please check the impacts and describe more precisely what to expect --> **_Potential impacts:_** <!-- Generated values: Can your change impact any of the existing generators in terms of generated values, if so which ones? when? --> <!-- Shrink values: Can your change impact any of the existing generators in terms of shrink values, if so which ones? when? --> <!-- Performance: Can it require some typings changes on user side? Please give more details --> <!-- Typings: Is there a potential performance impact? In which cases? --> - [ ] Generated values - [ ] Shrink values - [ ] Performance - [ ] Typings - [ ] _Other(s):_ ...
- Loading branch information
Showing
7 changed files
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
releases: | ||
fast-check: patch | ||
|
||
declined: | ||
- "@fast-check/ava" | ||
- "@fast-check/jest" | ||
- "@fast-check/vitest" | ||
- "@fast-check/worker" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters