Ability to serve images and font files
runemadsen opened this issue · 1 comments
runemadsen commented
Often my tests involve making Ajax request to load an image or a font. It would be great to have the ability to serve these type of files on the test server, so I can load them like this `localhost:8888/myfile.jpg'.
Right now, this doesn't seem possible?
rdy commented
Have you tried piping the image files into the server? After looking at the code I would kind of expect it to work already.
gulp.src(['**/*/_spec.js', 'myfile.jpg'])
.pipe(jasmineBrowser.specRunner())
.pipe(jasmineBrowser.server())