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 <timothy.johnson@broadcom.com>
  • Loading branch information
t1m0thyj committed Oct 10, 2024
1 parent 6b78c85 commit 4aed442
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion __tests__/__resources__/env/system.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
JEST_STARE_RESULT_DIR=__tests__/__results__/system/jest-stare
JEST_HTML_REPORTER_OUTPUT_PATH=__tests__/__results__/system/jest_html_reporter.html
JEST_HTML_REPORTER_PAGE_TITLE="DB2 Plugin System and Integration Tests"
JEST_JUNIT_OUTPUT=__tests__/__results__/system/junit.xml
JEST_JUNIT_OUTPUT_DIR=__tests__/__results__/system
JEST_SUITE_NAME="DB2 Plugin System and Integration Tests"
JEST_JUNIT_SUITE_NAME="DB2 Plugin System and Integration Tests"
2 changes: 1 addition & 1 deletion __tests__/__resources__/env/unit.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ JEST_STARE_RESULT_DIR=__tests__/__results__/unit/jest-stare
JEST_STARE_COVERAGE_LINK=../../coverage/lcov-report/index.html
JEST_HTML_REPORTER_OUTPUT_PATH=__tests__/__results__/unit/jest_html_reporter.html
JEST_HTML_REPORTER_PAGE_TITLE="DB2 Plugin Unit Tests"
JEST_JUNIT_OUTPUT=__tests__/__results__/unit/junit.xml
JEST_JUNIT_OUTPUT_DIR=__tests__/__results__/unit
JEST_SUITE_NAME="DB2 Plugin Unit Tests"
JEST_JUNIT_SUITE_NAME="DB2 Plugin Unit Tests"
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,6 @@
"reportTestSuiteErrors": true
}
],
[
"jest-stare",
{
"coverageLink": "../coverage/lcov-report/index.html",
"resultDir": "__tests__/__results__/jest-stare"
}
],
[
"jest-html-reporter",
{
Expand All @@ -136,5 +129,13 @@
}
]
]
},
"jest-stare": {
"additionalResultsProcessors": [
"jest-junit",
"jest-html-reporter"
],
"coverageLink": "../coverage/lcov-report/index.html",
"resultDir": "__tests__/__results__/jest-stare"
}
}

0 comments on commit 4aed442

Please sign in to comment.