Permalink
Browse files

bring old module-exports behavior back

  • Loading branch information...
1 parent ada03f6 commit 0b38c51e26aed0274fd07439dc84863b5e9a1ece @christian-bromann christian-bromann committed Jul 19, 2016
Showing with 5 additions and 3 deletions.
  1. +2 −1 .babelrc
  2. +1 −1 index.js
  3. +1 −0 package.json
  4. +1 −1 test/conf/local.js
View
@@ -3,6 +3,7 @@
"plugins": [
"syntax-async-functions",
"transform-regenerator",
- "transform-runtime"
+ "transform-runtime",
+ "add-module-exports"
]
}
View
@@ -35,7 +35,7 @@ let remote = function (options = {}, modifier) {
* build prototype: commands
*/
for (let commandName of Object.keys(IMPLEMENTED_COMMANDS)) {
- wdio.lift(commandName, IMPLEMENTED_COMMANDS[commandName].default)
+ wdio.lift(commandName, IMPLEMENTED_COMMANDS[commandName])
}
let prototype = wdio()
View
@@ -58,6 +58,7 @@
"babel-cli": "^6.10.1",
"babel-core": "^6.10.4",
"babel-eslint": "^6.1.2",
+ "babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-syntax-async-functions": "^6.8.0",
"babel-plugin-transform-regenerator": "^6.9.0",
"babel-plugin-transform-runtime": "^6.9.0",
View
@@ -12,7 +12,7 @@ let config = {
}
if (config.desiredCapabilities.browserName === 'phantomjs') {
- config.desiredCapabilities['phantomjs.binary.path'] = phantomjs.path;
+ config.desiredCapabilities['phantomjs.binary.path'] = phantomjs.path
}
if (process.env._ENV === 'multibrowser') {

0 comments on commit 0b38c51

Please sign in to comment.