Skip to content
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

Warning in unit test console about loading source map #4

Open
elira opened this issue Mar 23, 2021 · 1 comment
Open

Warning in unit test console about loading source map #4

elira opened this issue Mar 23, 2021 · 1 comment

Comments

@elira
Copy link

elira commented Mar 23, 2021

Describe the bug
When running angular tests with jasmine-given enabled. There is a warning in the console:

DevTools failed to load SourceMap: Could not load content for http://localhost:9876/absoluteE:/Users/**/node_modules/@hirez_io/jasmine-given/dist/jasmine-given.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

( the ** is part of the path with client related names ).

I think this might be messing with the unit test debugging lines. As the breakpoints are not enabled for the correct lines in developer tools.

Expected behavior
The file is there, so I'm not sure why there is a warning.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser chrome
  • Version Version 89.0.4389.90 (Official Build) (64-bit)
@shairez
Copy link
Member

shairez commented Jul 25, 2021

That's weird indeed

In your screenshot I can see something is being added to the url - /absoluteE:/
Maybe this is the hint to what to change in your configuration to make it work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants