404 for adapter sourcemap.
altearius opened this issue · comments
Chris Nielsen commented
Description
When using Karma's debug runner, the Chrome devtools makes a request to load the adapter.js file's sourcemap, adapter\index.js.map
.
The adapter\index.js.map
file has not been included as one of the files that Karma is allowed to serve, so this generates a 404 error, both in the Chrome dev tools and in the Karma log.
Expected behavior
No 404 should occur and the sourcemap should load successfully.
Actual behavior
A 404 error is generated in the Chrome dev tools:
And in the Karma log:
Steps to reproduce the bug
- Open Karma in "Watch" mode with Chrome.
- In the Chrome tab, click "Debug" to open the Karma debug runner.
- Press F12 to open the Chrome Dev Tools. This triggers the request to the source map.
- Observe the 404 error.
Package versions
- karma-viewport:
1.0.6
- karma:
4.4.1
System information
- OS: Windows 10
- Chrome
83.0.4103.116
Martin Donath commented
Fixed by #458.
Martin Donath commented
Released as part of 1.0.7.