12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.SUPPORTED_FILE_EXTENSIONS = exports.SUPPORTED_HOOKS = exports.DEFAULT_CONFIGS = void 0;
- const DEFAULT_TIMEOUT = 10000;
- exports.DEFAULT_CONFIGS = () => ({
- specs: [],
- suites: {},
- exclude: [],
- outputDir: undefined,
- logLevel: 'info',
- logLevels: {},
- excludeDriverLogs: [],
- bail: 0,
- waitforInterval: 500,
- waitforTimeout: 5000,
- framework: 'mocha',
- reporters: [],
- services: [],
- maxInstances: 100,
- maxInstancesPerCapability: 100,
- filesToWatch: [],
- connectionRetryTimeout: 120000,
- connectionRetryCount: 3,
- execArgv: [],
- runnerEnv: {},
- runner: 'local',
- mochaOpts: {
- timeout: DEFAULT_TIMEOUT
- },
- jasmineNodeOpts: {
- defaultTimeoutInterval: DEFAULT_TIMEOUT
- },
- cucumberOpts: {
- timeout: DEFAULT_TIMEOUT
- },
- onPrepare: [],
- onWorkerStart: [],
- before: [],
- beforeSession: [],
- beforeSuite: [],
- beforeHook: [],
- beforeTest: [],
- beforeCommand: [],
- afterCommand: [],
- afterTest: [],
- afterHook: [],
- afterSuite: [],
- afterSession: [],
- after: [],
- onComplete: [],
- onReload: [],
- beforeFeature: [],
- beforeScenario: [],
- beforeStep: [],
- afterStep: [],
- afterScenario: [],
- afterFeature: [],
- });
- exports.SUPPORTED_HOOKS = [
- 'before', 'beforeSession', 'beforeSuite', 'beforeHook', 'beforeTest', 'beforeCommand',
- 'afterCommand', 'afterTest', 'afterHook', 'afterSuite', 'afterSession', 'after',
- 'beforeFeature', 'beforeScenario', 'beforeStep', 'afterStep', 'afterScenario', 'afterFeature',
- 'onReload', 'onPrepare', 'onWorkerStart', 'onComplete'
- ];
- exports.SUPPORTED_FILE_EXTENSIONS = [
- '.js', '.mjs', '.es6', '.ts', '.feature', '.coffee', '.cjs'
- ];
|