nathanboktae / mocha-phantomjs

:coffee: :ghost: Run client-side mocha tests in the command line through phantomjs
MIT License
954 stars 112 forks source link

Option to disable "Error loading resource" error #153

Closed heiskr closed 9 years ago

heiskr commented 10 years ago

Hi yall!

Have to say I love this project. So simple and easy to get setup!

But I was wondering, I keep getting "Error loading resource" all over my reporting. It'd be amazing to be able to disable that somehow, there's like custom webfonts and SVG images that the loadImages option doesn't take care of.

Not sure if this is possible, if it isn't feel free to close.

Thanks!

metaskills commented 10 years ago

Sounds like an interesting idea. Would be easy to implement. @nathanboktae got any opinions?

nathanboktae commented 10 years ago

Yeah those messages come from here so an option to conditionally hook that up would be easy.

milesj commented 9 years ago

+1

andreialecu commented 9 years ago

+1 I have tests that rely on non 200 status codes for certain requests and this is flooding the test log with errors.

andreialecu commented 9 years ago

PR #169