Skip to content

Commit

Permalink
fix(karma): Escape quotes for file names. This fixes issue karma-runn…
Browse files Browse the repository at this point in the history
  • Loading branch information
Moumi committed Feb 27, 2016
1 parent d3363fa commit 9fa540d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/middleware/karma.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ describe('middleware.karma', () => {
fsMock._touchFile('/karma/static/context.html', 0, '%MAPPINGS%')
servedFiles([
new MockFile("/some/abc/a'b.js", 'sha_a'),
new MockFile('/base/path/ba.js', 'sha_b'),
new MockFile('/base/path/ba.js', 'sha_b')
])

response.once('end', () => {
Expand Down

0 comments on commit 9fa540d

Please sign in to comment.