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

Add noStackTrace config setting to omit stack traces from the reports #160

Merged
merged 1 commit into from
Oct 4, 2021

Conversation

sginter
Copy link
Contributor

@sginter sginter commented Mar 22, 2021

Relates to issue #136

I added a noStackTrace option (defaults to "false") to skip the stack traces on junit >= 26.3.0 where the failureDetails is available on top of failureMessages

@@ -55,7 +55,7 @@ Environment variable and package.json configuration should be **strings**.
Reporter options should also be strings exception for suiteNameTemplate, classNameTemplate, titleNameTemplate that can also accept a function returning a string.

| Environment Variable Name | Reporter Config Name| Description | Default | Possible Injection Values
|--|--|--|--|--|
|---|---|---|---|---|
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not strictly necessary, but broke my IntelliJ parser, and markup docs say it should be 3 dashes :-)

@SimenB SimenB requested a review from palmerj3 September 29, 2021 10:14
@palmerj3 palmerj3 merged commit 6a84a3e into jest-community:master Oct 4, 2021
bors bot referenced this pull request in ttbud/ttbud Oct 5, 2021
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [jest-junit](https://togithub.com/jest-community/jest-junit) | [`12.3.0` -> `13.0.0`](https://renovatebot.com/diffs/npm/jest-junit/12.3.0/13.0.0) | [![age](https://badges.renovateapi.com/packages/npm/jest-junit/13.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/jest-junit/13.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/jest-junit/13.0.0/compatibility-slim/12.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/jest-junit/13.0.0/confidence-slim/12.3.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>jest-community/jest-junit</summary>

### [`v13.0.0`](https://togithub.com/jest-community/jest-junit/releases/v13.0.0)

[Compare Source](https://togithub.com/jest-community/jest-junit/compare/v12.3.0...v13.0.0)

Update strip-ansi to newer version - [https://github.com/jest-community/jest-junit/pull/188](https://togithub.com/jest-community/jest-junit/pull/188)
Add noStackTrace CLI option - [https://github.com/jest-community/jest-junit/pull/160](https://togithub.com/jest-community/jest-junit/pull/160)
Fix rootDir usage - [https://github.com/jest-community/jest-junit/pull/154](https://togithub.com/jest-community/jest-junit/pull/154)

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/ttbud/ttbud).
bors bot referenced this pull request in ttbud/ttbud Oct 6, 2021
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [jest-junit](https://togithub.com/jest-community/jest-junit) | [`12.3.0` -> `13.0.0`](https://renovatebot.com/diffs/npm/jest-junit/12.3.0/13.0.0) | [![age](https://badges.renovateapi.com/packages/npm/jest-junit/13.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/jest-junit/13.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/jest-junit/13.0.0/compatibility-slim/12.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/jest-junit/13.0.0/confidence-slim/12.3.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>jest-community/jest-junit</summary>

### [`v13.0.0`](https://togithub.com/jest-community/jest-junit/releases/v13.0.0)

[Compare Source](https://togithub.com/jest-community/jest-junit/compare/v12.3.0...v13.0.0)

Update strip-ansi to newer version - [https://github.com/jest-community/jest-junit/pull/188](https://togithub.com/jest-community/jest-junit/pull/188)
Add noStackTrace CLI option - [https://github.com/jest-community/jest-junit/pull/160](https://togithub.com/jest-community/jest-junit/pull/160)
Fix rootDir usage - [https://github.com/jest-community/jest-junit/pull/154](https://togithub.com/jest-community/jest-junit/pull/154)

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/ttbud/ttbud).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants