@@ -14,9 +14,16 @@ exports.config = {
14
14
// Specify Test Files
15
15
// ==================
16
16
// 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.
20
27
//
21
28
specs : [ './test/**/*.e2e.{js,ts}' ] ,
22
29
// Patterns to exclude.
@@ -114,7 +121,7 @@ exports.config = {
114
121
115
122
// Framework you want to run your specs with.
116
123
// 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
118
125
//
119
126
// Make sure you have the wdio adapter package for the specific framework installed
120
127
// before running any tests.
@@ -131,7 +138,7 @@ exports.config = {
131
138
//
132
139
// Test reporter for stdout.
133
140
// 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
135
142
reporters : [ 'spec' ] ,
136
143
137
144
//
@@ -140,7 +147,6 @@ exports.config = {
140
147
mochaOpts : {
141
148
ui : 'bdd' ,
142
149
timeout : 60000 ,
143
- compiler : [ 'ts-node/register' ]
144
150
} ,
145
151
//
146
152
// =====
@@ -184,9 +190,8 @@ exports.config = {
184
190
* @param {Array.<String> } specs List of spec file paths that are to be run
185
191
* @param {Object } browser instance of created browser/device session
186
192
*/
187
- before : function ( ) {
188
- require ( "@babel/register" ) ( { extensions : [ '.js' , '.jsx' , '.ts' , '.tsx' ] } ) ;
189
- } ,
193
+ // before: function (capabilities, specs) {
194
+ // },
190
195
/**
191
196
* Runs before a WebdriverIO command gets executed.
192
197
* @param {String } commandName hook command name
0 commit comments