-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Recorder] Ensure that source maps can be used to debug errors during record and playback #6298
Comments
Made this other issue to track the browser fix: #6429 Our current solution is to move |
nyc is obscuring Mocha's stack traces. It's unable to follow through the references. This is the fastest fix, and this will incidentally make our Node tests faster. Fixes Azure#6298
nyc is obscuring Mocha's stack traces. It's unable to follow through the references. This is the fastest fix, and this will incidentally make our Node tests faster. Fixes #6298
The problem described here is for sourcemap issues caused by nyc during record & playback. For playback, we use the npm script So, the problem seems to be only in the case of recording the tests, is that right @sadasant? |
Ah, looks like the npm script for unit is calling the npm script for integration which in turn was using nyc |
Currently, if there's any error during record or playback, the trace of the error only routes through built files, making it almost impossible to debug.
The text was updated successfully, but these errors were encountered: