aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/wdio.main.conf.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-09-03 10:27:04 +0200
committerChocobozzz <me@florianbigard.com>2021-09-03 16:35:18 +0200
commit6d210220be0875d63461829d83c6e3a59d05cf7a (patch)
tree60ec5b596ef06295b70ebb553920a39b549e0f13 /client/e2e/wdio.main.conf.ts
parent2ede07153ce0282b116345dfee09bff902355a75 (diff)
downloadPeerTube-6d210220be0875d63461829d83c6e3a59d05cf7a.tar.gz
PeerTube-6d210220be0875d63461829d83c6e3a59d05cf7a.tar.zst
PeerTube-6d210220be0875d63461829d83c6e3a59d05cf7a.zip
Fix NSFW filter and add tests
Diffstat (limited to 'client/e2e/wdio.main.conf.ts')
-rw-r--r--client/e2e/wdio.main.conf.ts13
1 files changed, 11 insertions, 2 deletions
diff --git a/client/e2e/wdio.main.conf.ts b/client/e2e/wdio.main.conf.ts
index 7f4c7f7ee..29afdbdc0 100644
--- a/client/e2e/wdio.main.conf.ts
+++ b/client/e2e/wdio.main.conf.ts
@@ -21,7 +21,8 @@ export const config = {
21 // will be called from there. 21 // will be called from there.
22 // 22 //
23 specs: [ 23 specs: [
24 './src/**/*.e2e-spec.ts' 24 './src/suites-all/*.e2e-spec.ts',
25 './src/suites-local/*.e2e-spec.ts'
25 ], 26 ],
26 // Patterns to exclude. 27 // Patterns to exclude.
27 exclude: [ 28 exclude: [
@@ -79,7 +80,7 @@ export const config = {
79 framework: 'mocha', 80 framework: 'mocha',
80 // 81 //
81 // The number of times to retry the entire specfile when it fails as a whole 82 // The number of times to retry the entire specfile when it fails as a whole
82 specFileRetries: 2, 83 specFileRetries: 1,
83 // 84 //
84 // Delay in seconds between the spec file retry attempts 85 // Delay in seconds between the spec file retry attempts
85 // specFileRetriesDelay: 0, 86 // specFileRetriesDelay: 0,
@@ -105,6 +106,14 @@ export const config = {
105 106
106 tsNodeOpts: { 107 tsNodeOpts: {
107 project: require('path').join(__dirname, './tsconfig.json') 108 project: require('path').join(__dirname, './tsconfig.json')
109 },
110
111 tsConfigPathsOpts: {
112 baseUrl: './',
113 paths: {
114 '@server/*': [ '../../server/*' ],
115 '@shared/*': [ '../../shared/*' ]
116 }
108 } 117 }
109 }, 118 },
110 119