| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Review requested:
|
Sorry, something went wrong.
Codecov ReportAttention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
@@ Coverage Diff @@
## main #55055 +/- ##
==========================================
- Coverage 88.41% 88.41% -0.01%
==========================================
Files 652 652
Lines 186576 186579 +3
Branches 36049 36049
==========================================
- Hits 164960 164955 -5
- Misses 14889 14900 +11
+ Partials 6727 6724 -3
|
Sorry, something went wrong.
|
The first commit is #55037, which will land shortly. This PR adds ERR_SOURCE_MAP_CANNOT_PARSE for when the source map does not exist / is not valid JSON |
Sorry, something went wrong.
There was a problem hiding this comment.
lgtm
Sorry, something went wrong.
There was a problem hiding this comment.
Please stop changing unrelated things in PRs. It makes PRs more difficult to review and is more likely to introduce issues. If you feel strongly that the source map fixtures should be renamed, please do that in a separate PR.
Sorry, something went wrong.
There was a problem hiding this comment.
You shouldn't need the awaits on the tests.
Sorry, something went wrong.
There was a problem hiding this comment.
I'm a bit torn on this error for a couple of reasons:
Sorry, something went wrong.
There was a problem hiding this comment.
The error says that the source map does not exist or cannot be parsed... but there is still an entry for it in the source map cache.
There is an entry, but it's empty.
Before this change, an error was thrown because the entry was empty, and therefore didn't have any properties. Does that error get thrown anywhere else? If so, I can try and handle them as well
Sorry, something went wrong.
IMO it's related because this adds tests, and moving them into their own file is good for decluttering, but I'll move it feel it's unrelated. |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
PR-URL: #55055 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
| Back | FazBrowse Home | New Git URL |
This PR changes the code coverage test runner to throw ERR_SOURCE_MAP_CORRUPT when a sourcemap is not a valid JSON file, or does not exist.