Skip to content

Unit tests not working with PhantomJS#5

Open
moderndegree wants to merge 3 commits into
zemirco:masterfrom
moderndegree:master
Open

Unit tests not working with PhantomJS#5
moderndegree wants to merge 3 commits into
zemirco:masterfrom
moderndegree:master

Conversation

@moderndegree

Copy link
Copy Markdown

I have made some changes to get around a limitation of PhantomJS for unit tests. PhantomJS currently doesn't support bind on Function.prototype (ariya/phantomjs#10522). It appears as though, the cleanest workaround is to include an es5 shim for testing purposes.

I also ran gjslint and found a few issues with the syntax. It is still complaining about the @example annotations but I couldn't see a problem with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant