nathanboktae / mocha-phantomjs

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

mocha-phantomjs Error loading resource file #210

Closed bmark1111 closed 9 years ago

bmark1111 commented 9 years ago

I get this error when running mocha-phantomjs v1.html

Error loading resource file://api.inflightpanasonic.aero/inflight/static/airport_info/v1.js?dev (302). Details: Request for opening non-local file file://api.inflightpanasonic.aero/inflight/static/airport_info/v1.js?dev

This is my v1.html runner:

<!DOCTYPE html>

Airport Info Tests

Airport Info Tests

I am assuming that phantomjs has a problem with my external file. Tried looking for ways to handle this to no avail. Any help appreciated