Commit f6bfa8a0 authored by Robert Knight's avatar Robert Knight

Use the Object.getOwnPropertyNames() fix for PhantomJS in Chrome tests

See linked description in GitHub issue.

It is a bit silly that we are running the Chrome extension tests
exclusively in PhantomJS rather than Chrome, but for the moment,
get the existing tests to run using the same getOwnPropertyNames()
shim that is used for the main client app tests.
parent c36acd9d
...@@ -73,6 +73,8 @@ module.exports = function(config) { ...@@ -73,6 +73,8 @@ module.exports = function(config) {
bundle bundle
.transform('coffeeify') .transform('coffeeify')
.plugin('proxyquire-universal') .plugin('proxyquire-universal')
// fix for Proxyquire in PhantomJS 1.x.
// See https://github.com/bitwit/proxyquireify-phantom-menace
.require('phantom-ownpropertynames/implement', {entry: true}); .require('phantom-ownpropertynames/implement', {entry: true});
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment