diff --git a/__tests__/__resources__/env/integration.env b/__tests__/__resources__/env/integration.env index c3f9eee6..88fa7ad5 100644 --- a/__tests__/__resources__/env/integration.env +++ b/__tests__/__resources__/env/integration.env @@ -1,7 +1,7 @@ # environmental variable settings for integration tests FORCE_COLOR=1 -JEST_JUNIT_OUTPUT=__tests__/__results__/integration/junit.xml +JEST_JUNIT_OUTPUT_DIR=__tests__/__results__/integration JEST_SUITE_NAME="Integration Tests" JEST_JUNIT_ANCESTOR_SEPARATOR=" > " JEST_JUNIT_CLASSNAME="Integration.{classname}" diff --git a/__tests__/__resources__/env/system.env b/__tests__/__resources__/env/system.env index 997fb2c0..9eb5785b 100644 --- a/__tests__/__resources__/env/system.env +++ b/__tests__/__resources__/env/system.env @@ -1,7 +1,7 @@ # environmental variable settings for system tests FORCE_COLOR=1 -JEST_JUNIT_OUTPUT=__tests__/__results__/system/junit.xml +JEST_JUNIT_OUTPUT_DIR=__tests__/__results__/system JEST_SUITE_NAME="System Tests" JEST_JUNIT_ANCESTOR_SEPARATOR=" > " JEST_JUNIT_CLASSNAME="System.{classname}" diff --git a/__tests__/__resources__/env/unit.env b/__tests__/__resources__/env/unit.env index 50a9d1b1..81a3e83c 100644 --- a/__tests__/__resources__/env/unit.env +++ b/__tests__/__resources__/env/unit.env @@ -1,7 +1,7 @@ # environmental variable settings for unit tests FORCE_COLOR=1 -JEST_JUNIT_OUTPUT=__tests__/__results__/unit/junit.xml +JEST_JUNIT_OUTPUT_DIR=__tests__/__results__/unit JEST_SUITE_NAME="Unit Tests" JEST_JUNIT_ANCESTOR_SEPARATOR=" > " JEST_JUNIT_CLASSNAME="Unit.{classname}" diff --git a/package.json b/package.json index 796a1348..d9814131 100644 --- a/package.json +++ b/package.json @@ -108,13 +108,6 @@ "reportTestSuiteErrors": true } ], - [ - "jest-stare", - { - "coverageLink": "../coverage/lcov-report/index.html", - "resultDir": "__tests__/__results__/jest-stare" - } - ], [ "jest-html-reporter", { @@ -131,5 +124,13 @@ ] ] }, + "jest-stare": { + "additionalResultsProcessors": [ + "jest-junit", + "jest-html-reporter" + ], + "coverageLink": "../coverage/lcov-report/index.html", + "resultDir": "__tests__/__results__/jest-stare" + }, "license": "EPL-2.0" }