-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
fix: mocking of getters/setters on automatically mocked classes #13460
Closed
Commits on Oct 6, 2022
-
Revert "Revert "fix: mocking of getters/setters on automatically mock…
…ed classes (jestjs#13145)"" This reverts commit 52d45be. # Conflicts: # CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for 8d31725 - Browse repository at this point
Copy the full SHA 8d31725View commit details -
bug 13140 - Added condition to prevent refs to auto-mocked superclass…
… 'get'/'set' functions being mocked as accessor objects. Added extra tests for this, and for some other conditions. Corrected expected test error messages due to the refactored code for the fix to this bug.
Configuration menu - View commit details
-
Copy full SHA for 46c92d6 - Browse repository at this point
Copy the full SHA 46c92d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 571ad48 - Browse repository at this point
Copy the full SHA 571ad48View commit details
Commits on Oct 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d315f78 - Browse repository at this point
Copy the full SHA d315f78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c3af0d - Browse repository at this point
Copy the full SHA 6c3af0dView commit details -
Co-authored-by: Tom Mrazauskas <tom@mrazauskas.de>
Configuration menu - View commit details
-
Copy full SHA for c36a196 - Browse repository at this point
Copy the full SHA c36a196View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7e4242 - Browse repository at this point
Copy the full SHA e7e4242View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9be113c - Browse repository at this point
Copy the full SHA 9be113cView commit details
Commits on Oct 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2d2648d - Browse repository at this point
Copy the full SHA 2d2648dView commit details -
bug-13140 - added tests for function exports mocked using spyOn. Thes…
…e currently only test for functions exported as data properties, not as accessors/getters
Configuration menu - View commit details
-
Copy full SHA for e7f1a1c - Browse repository at this point
Copy the full SHA e7f1a1cView commit details -
bug-13140 - reinstating spyOn functionality that allowed mocking of f…
…unctions exported as accessors/getters
Configuration menu - View commit details
-
Copy full SHA for d9efe2d - Browse repository at this point
Copy the full SHA d9efe2dView commit details
Commits on Oct 17, 2022
-
bug-13140: Added restoring of accessor properties. Updated tests for …
…restoring of accessor properties. Test for function exports via getters.
Configuration menu - View commit details
-
Copy full SHA for f329d8a - Browse repository at this point
Copy the full SHA f329d8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa0843d - Browse repository at this point
Copy the full SHA fa0843dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd5ab67 - Browse repository at this point
Copy the full SHA bd5ab67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80375e2 - Browse repository at this point
Copy the full SHA 80375e2View commit details
Commits on Oct 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8907420 - Browse repository at this point
Copy the full SHA 8907420View commit details -
Configuration menu - View commit details
-
Copy full SHA for da76c29 - Browse repository at this point
Copy the full SHA da76c29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2facdf1 - Browse repository at this point
Copy the full SHA 2facdf1View commit details
Commits on Oct 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ee0013a - Browse repository at this point
Copy the full SHA ee0013aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.