Polyfill for Array.prototype.every
npm install phantomjs-polyfill-everyThis is a polyfill for Array.prototype.every which is missing from PhantomJS.
```
npm install --save-dev phantomjs-polyfill-every
``
require('phantomjs-polyfill')
Include the polyfill directly in the files list of your karma.conf
```
...
files: [
'./node_modules/phantomjs-polyfill-every/every-polyfill.js',
...
]
...