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

chore(deps): update dependency @japa/runner to v4 #8125

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 6, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@japa/runner ^3.1.1 -> ^4.0.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

japa/runner (@​japa/runner)

v4.0.0: Test macros, support for bail mode and some breaking changes

Compare Source

Test macros

Test macros are reusable test bound functions that can create and destroy resources around the lifecycle of a test. You can learn more about them in the docs and this tweet. https://x.com/AmanVirk1/status/1876135855074488589

Bail mode

In bail mode, all the upcoming tests after the failing test will be skipped. You could enable the bail mode in CI/CD pipelines to early exit the workflow after having a failing test. The bail mode is enabled using the --bail flag.

Changes to styling of subtext

The subtext refers to the text displayed by the spec reporter for the skipped and the regression tests. Earlier, the subtext was displayed in the same color as the test title. Now it is displayed as dimmed text with small tweaks to the styling. Please refer the following screenshots for the same.

Before

japa-3-x

After

japa-4-x

Bug Fixes

  • remove failed CLI flag from the string array (31e38ca)

Code Refactoring

  • rename createDiverseTests to createDummyTests (07ea6bc)

Features

  • add support for bail mode (cf64cf9)
  • add test.macro to define test bound reusable functions (83ff323)
  • change styling of subtext (663dcbe)
  • point timeout and regression errors to the test callback (d0462fb)
  • serialize suite errors in ndjson reporter (5a8a9f9)

BREAKING CHANGES

  • Rename createDiverseTest to createDummyTests exported via @japa/runner/factories

Full Changelog: japa/runner@v3.1.4...v4.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from waghanza as a code owner January 6, 2025 07:57
@waghanza waghanza closed this Jan 7, 2025
Copy link
Contributor Author

renovate bot commented Jan 7, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/japa-runner-4.x branch January 7, 2025 20:10
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.

1 participant