-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(reporter): show file path correctly when urlRoot specified
Handle urlRoot in paths if rulRoot specified Closes #2897
- Loading branch information
1 parent
b53929a
commit 34dc7d3
Showing
2 changed files
with
7 additions
and
0 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
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
34dc7d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least in my environment this commit prevents Karma 2.0 from showing the original source line and column when using source maps. Because of the new RegEx component
urlRoot + '\\/?'
, the url now must start with/base
and because Karma automatically normalizes theurlRoot
configuration option, it is also not possible to set it to an empty string. I submitted the following issue