Skip to content

Commit

Permalink
Fix junit and jest-stare output in wrong folder
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <[email protected]>
  • Loading branch information
t1m0thyj committed Oct 10, 2024
1 parent 6e15ba0 commit 699444d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion __tests__/__resources__/env/integration.env
Original file line number Diff line number Diff line change
@@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion __tests__/__resources__/env/system.env
Original file line number Diff line number Diff line change
@@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion __tests__/__resources__/env/unit.env
Original file line number Diff line number Diff line change
@@ -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}"
Expand Down
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,6 @@
"reportTestSuiteErrors": true
}
],
[
"jest-stare",
{
"coverageLink": "../coverage/lcov-report/index.html",
"resultDir": "__tests__/__results__/jest-stare"
}
],
[
"jest-html-reporter",
{
Expand All @@ -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"
}

0 comments on commit 699444d

Please sign in to comment.