@@ -14,9 +14,16 @@ exports.config = {
1414 // Specify Test Files
1515 // ==================
1616 // Define which test specs should run. The pattern is relative to the directory
17- // from which `wdio` was called. Notice that, if you are calling `wdio` from an
18- // NPM script (see https://docs.npmjs.com/cli/run-script) then the current working
19- // directory is where your package.json resides, so `wdio` will be called from there.
17+ // from which `wdio` was called.
18+ //
19+ // The specs are defined as an array of spec files (optionally using wildcards
20+ // that will be expanded). The test for each spec file will be run in a separate
21+ // worker process. In order to have a group of spec files run in the same worker
22+ // process simply enclose them in an array within the specs array.
23+ //
24+ // If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
25+ // then the current working directory is where your `package.json` resides, so `wdio`
26+ // will be called from there.
2027 //
2128 specs : [ './test/**/*.e2e.{js,ts}' ] ,
2229 // Patterns to exclude.
@@ -114,7 +121,7 @@ exports.config = {
114121
115122 // Framework you want to run your specs with.
116123 // The following are supported: Mocha, Jasmine, and Cucumber
117- // see also: https://webdriver.io/docs/frameworks.html
124+ // see also: https://webdriver.io/docs/frameworks
118125 //
119126 // Make sure you have the wdio adapter package for the specific framework installed
120127 // before running any tests.
@@ -131,7 +138,7 @@ exports.config = {
131138 //
132139 // Test reporter for stdout.
133140 // The only one supported by default is 'dot'
134- // see also: https://webdriver.io/docs/dot-reporter.html
141+ // see also: https://webdriver.io/docs/dot-reporter
135142 reporters : [ 'spec' ] ,
136143
137144 //
@@ -140,7 +147,6 @@ exports.config = {
140147 mochaOpts : {
141148 ui : 'bdd' ,
142149 timeout : 60000 ,
143- compiler : [ 'ts-node/register' ]
144150 } ,
145151 //
146152 // =====
@@ -184,9 +190,8 @@ exports.config = {
184190 * @param {Array.<String> } specs List of spec file paths that are to be run
185191 * @param {Object } browser instance of created browser/device session
186192 */
187- before : function ( ) {
188- require ( "@babel/register" ) ( { extensions : [ '.js' , '.jsx' , '.ts' , '.tsx' ] } ) ;
189- } ,
193+ // before: function (capabilities, specs) {
194+ // },
190195 /**
191196 * Runs before a WebdriverIO command gets executed.
192197 * @param {String } commandName hook command name
0 commit comments