-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined coverage result possibly caused by browser security #23
Comments
@juriejan: does the code in the |
You can also try running your code from a local web server (such as connect or http-server) and using the |
I was specifically trying to get along without running a server. I had pretty much replicated the example in my own setup, but went ahead and tried the example as is, which worked fine. After trying a whole bunch of combinations I finally figured out that my problem was being caused by not having the The reason I though the error was being caused by not being able to access the the source files from the test file was due to the behavior of Google Chrome, which required the |
Indeed, that does sound like a bug. Thanks for taking the time to On Sat, Mar 29, 2014 at 5:42 AM, Jurie-Jan Botha
|
I've created a new issue for this which sums up the issue. Will fix it there. #23 |
I can seem to get this plugin working. My simple test and coverage setup works in a Google Chrome browser with the
--allow-file-access-from-files
flag set totrue
. When the flag is not set it returnsundefined
for the coverage percentage, which seems to be what's happening when I try to run the task:I've tried turning off web security at both the CLI and page levels for the PhantomJS process that get's spawned, but the issue persists.
Since there's nothing in the documentation regarding this, I assume that I'm might b missing something fairly obvious.
The text was updated successfully, but these errors were encountered: