diff --git a/goofy-client/apps/goofy-e2e/src/support/pre-ea-report-merge.ts b/goofy-client/apps/goofy-e2e/src/support/pre-ea-report-merge.ts index 46a09f4f3543ba6eda04fceb8129e4e60ca5a977..08d5f533e0192fe38759f724e2eb41984fea6fed 100644 --- a/goofy-client/apps/goofy-e2e/src/support/pre-ea-report-merge.ts +++ b/goofy-client/apps/goofy-e2e/src/support/pre-ea-report-merge.ts @@ -23,8 +23,6 @@ */ const fs = require('fs'); -const EINHEITLICHER_ANSPRECHPARTNER_REPORT_FOLDER: string = 'apps/goofy-e2e/reports_einheitlicher-ansprechpartner/mochawesome-report'; - -if (fs.existsSync(`${EINHEITLICHER_ANSPRECHPARTNER_REPORT_FOLDER}/.jsons`)) { - fs.rename(`${EINHEITLICHER_ANSPRECHPARTNER_REPORT_FOLDER}/.jsons`, `${EINHEITLICHER_ANSPRECHPARTNER_REPORT_FOLDER}/jsons`, () => { }) +if (fs.existsSync(`apps/goofy-e2e/reports_einheitlicher-ansprechpartner/mochawesome-report/.jsons`)) { + fs.rename(`apps/goofy-e2e/reports_einheitlicher-ansprechpartner/mochawesome-report/.jsons`, `apps/goofy-e2e/reports_einheitlicher-ansprechpartner/mochawesome-report/jsons`, () => { }) } \ No newline at end of file diff --git a/goofy-client/apps/goofy-e2e/src/support/pre-merge.ts b/goofy-client/apps/goofy-e2e/src/support/pre-merge.ts index f24bc0c8f7b9de2096e1ea0229fa35fb301aa862..6ea856303c5a3675377b4df88b5e7fbdf19f9c38 100644 --- a/goofy-client/apps/goofy-e2e/src/support/pre-merge.ts +++ b/goofy-client/apps/goofy-e2e/src/support/pre-merge.ts @@ -23,8 +23,6 @@ */ const fs = require('fs'); -const MAIN_TEST_REPORT_FOLDER: string = `apps/goofy-e2e/reports/${process.env.REPORT_FOLDER}/mochawesome-report`; - -if (fs.existsSync(`${MAIN_TEST_REPORT_FOLDER}/.jsons`)) { - fs.rename(`${MAIN_TEST_REPORT_FOLDER}/.jsons`, `${MAIN_TEST_REPORT_FOLDER}/jsons`, () => { }) +if (fs.existsSync(`apps/goofy-e2e/reports/${process.env.REPORT_FOLDER}/mochawesome-report/.jsons`)) { + fs.rename(`apps/goofy-e2e/reports/${process.env.REPORT_FOLDER}/mochawesome-report/.jsons`, `apps/goofy-e2e/reports/${process.env.REPORT_FOLDER}/mochawesome-report/jsons`, () => { }) } \ No newline at end of file