chore(appium): move babel-register setup to monorepo root
Since multiple packages will be using this file, it should probably just live here.
We will eventually be able to remove the `--require ../../test/setup-babel.js` from the testing scripts once we've gotten off of gulp entirely (it can be referenced in `.mocharc.js` instead)
MODIFY
packages/appium/package.json
packages/appium/package.json
"postinstall": "node ./scripts/postinstall.js",
"lint": "eslint -c ../../.eslintrc --ignore-path ../../.eslintignore .",
"test": "npm run test:unit",
- "test:e2e": "mocha --require ./test/setup.js --timeout 20s --slow 10s \"./test/e2e/**/*.spec.js\"",
- "test:unit": "mocha --require ./test/setup.js \"./test/unit/**/*.spec.js\""
+ "test:e2e": "mocha --require ../../test/setup-babel.js --timeout 20s --slow 10s \"./test/e2e/**/*.spec.js\"",
+ "test:unit": "mocha --require ../../test/setup-babel.js \"./test/unit/**/*.spec.js\""
},
"dependencies": {
"@appium/base-driver": "file:../base-driver",

RENAME
packages/appium/test/setup.js
test/setup-babel.js
chore(appium): move babel-register setup to monorepo root

Since multiple packages will be using this file, it should probably just live here.
We will eventually be able to remove the `--require ../../test/setup-babel.js` from the testing scripts once we've gotten off of gulp entirely (it can be referenced in `.mocharc.js` instead)