Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix junit and jest-stare output in wrong folder #174

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
Loading