From 6d210220be0875d63461829d83c6e3a59d05cf7a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 3 Sep 2021 10:27:04 +0200 Subject: Fix NSFW filter and add tests --- client/e2e/wdio.main.conf.ts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'client/e2e/wdio.main.conf.ts') 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 = { // will be called from there. // specs: [ - './src/**/*.e2e-spec.ts' + './src/suites-all/*.e2e-spec.ts', + './src/suites-local/*.e2e-spec.ts' ], // Patterns to exclude. exclude: [ @@ -79,7 +80,7 @@ export const config = { framework: 'mocha', // // The number of times to retry the entire specfile when it fails as a whole - specFileRetries: 2, + specFileRetries: 1, // // Delay in seconds between the spec file retry attempts // specFileRetriesDelay: 0, @@ -105,6 +106,14 @@ export const config = { tsNodeOpts: { project: require('path').join(__dirname, './tsconfig.json') + }, + + tsConfigPathsOpts: { + baseUrl: './', + paths: { + '@server/*': [ '../../server/*' ], + '@shared/*': [ '../../shared/*' ] + } } }, -- cgit v1.2.3