ソースを参照

fix(tests): wdio.cong ffExcludes undefined error.

factor2
Hristo Terezov 8ヶ月前
コミット
326b694bf2
1個のファイルの変更2行の追加1行の削除
  1. 2
    1
      tests/wdio.conf.ts

+ 2
- 1
tests/wdio.conf.ts ファイルの表示

@@ -267,7 +267,8 @@ export const config: WebdriverIO.MultiremoteConfig = {
267 267
 
268 268
         // We skip the suite tests if the suite is marked as such, we used that from firefox overwrite
269 269
         // @ts-ignore
270
-        if (config?.ffExcludes.some((e: string) => minimatch(args[2][0].replace('file://', ''), `${__dirname}/${e}`))) {
270
+        if (config?.ffExcludes?.some(
271
+                (e: string) => minimatch(args[2][0].replace('file://', ''), `${__dirname}/${e}`))) {
271 272
             args[2].pop();
272 273
         }
273 274
     },

読み込み中…
キャンセル
保存