mirror of
https://github.com/appium/appium.git
synced 2026-05-08 03:49:30 -05:00
Add VSCode launch configurations (#10683)
* Added debug, attach to debug, test-all, and test-current-file * The debug and attach to debug allow you to run Appium server * Made some changes to how package.json is located to support being able to run Mocha tests directly from 'test/' instead of from 'build/test/'
This commit is contained in:
+4
-2
@@ -1,7 +1,7 @@
|
||||
import _ from 'lodash';
|
||||
import logger from './logger';
|
||||
import { processCapabilities, BaseDriver } from 'appium-base-driver';
|
||||
|
||||
import findRoot from 'find-root';
|
||||
|
||||
function inspectObject (args) {
|
||||
function getValueArray (obj, indent = ' ') {
|
||||
@@ -149,4 +149,6 @@ function insertAppiumPrefixes (caps) {
|
||||
return prefixedCaps;
|
||||
}
|
||||
|
||||
export { inspectObject, parseCapsForInnerDriver, insertAppiumPrefixes };
|
||||
const rootDir = findRoot(__dirname);
|
||||
|
||||
export { inspectObject, parseCapsForInnerDriver, insertAppiumPrefixes, rootDir };
|
||||
|
||||
Reference in New Issue
Block a user