One of the files being served in my project has a single quote in its name. Karma is unable to run any tests because of this.
This is the culprit:
|
mappings = 'window.__karma__.files = {\n' + mappings.join(',\n') + '\n};\n' |
Why not use JSON.stringify()?
One of the files being served in my project has a single quote in its name. Karma is unable to run any tests because of this.
This is the culprit:
karma/lib/middleware/karma.js
Line 148 in 19dd824
Why not use
JSON.stringify()?