-
-
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 custom async matcher stack traces #7652
Commits on Jan 19, 2019
-
Fix custom async matcher stack trace
Fixes a bug causing custom async matcher stack traces to be lost. The issue was caused by the JestAssertionError being created after the promise for the async matcher resolved - by which point the stack containing the correct stack trace (pointing to the line where matcher was called) has been discarded. The issue was fixed by passing an error that is initialized before the promise resolves.
Don Schrimsher committedJan 19, 2019 Configuration menu - View commit details
-
Copy full SHA for c1a2b77 - Browse repository at this point
Copy the full SHA c1a2b77View commit details -
Add test for custom async matcher stack trace fix
Adds a test to verify the async custom matcher stack trace fix.
Don Schrimsher committedJan 19, 2019 Configuration menu - View commit details
-
Copy full SHA for 7f012f9 - Browse repository at this point
Copy the full SHA 7f012f9View commit details -
Don Schrimsher committed
Jan 19, 2019 Configuration menu - View commit details
-
Copy full SHA for a1e1e40 - Browse repository at this point
Copy the full SHA a1e1e40View commit details
Commits on Jan 22, 2019
-
Merge remote-tracking branch 'upstream/master'
Don Schrimsher committedJan 22, 2019 Configuration menu - View commit details
-
Copy full SHA for 3018bc8 - Browse repository at this point
Copy the full SHA 3018bc8View commit details -
Use wrap in e2e test for custom matcher stack trace
Uses the new wrap utility in e2e snapshot for custom matcher stack traces.
Don Schrimsher committedJan 22, 2019 Configuration menu - View commit details
-
Copy full SHA for 023f108 - Browse repository at this point
Copy the full SHA 023f108View commit details
Commits on Feb 12, 2019
-
Merge branch 'master' of github.com:facebook/jest
Don Schrimsher committedFeb 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 5f91b0f - Browse repository at this point
Copy the full SHA 5f91b0fView commit details
Commits on Feb 13, 2019
-
Use Promise.resolve in expect async matcher tests
Don Schrimsher committedFeb 13, 2019 Configuration menu - View commit details
-
Copy full SHA for f2e50aa - Browse repository at this point
Copy the full SHA f2e50aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c38615e - Browse repository at this point
Copy the full SHA c38615eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ac2a3c - Browse repository at this point
Copy the full SHA 7ac2a3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef15826 - Browse repository at this point
Copy the full SHA ef15826View commit details