This repository was archived by the owner on Jan 13, 2025. It is now read-only.
chore(deps): update dependency @japa/runner to v4 #281
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.1.4
->^4.1.0
Release Notes
japa/runner (@japa/runner)
v4.1.0
: Add Github annotations reporterCompare Source
The Github annotations reporter reports test errors as workflow annotations. The reporter gets activated automatically in the Github actions environment
4.1.0 (2025-01-09)
Bug Fixes
Features
Full Changelog: japa/runner@v4.0.0...v4.1.0
v4.0.0
: Test macros, support for bail mode and some breaking changesCompare 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 thespec
reporter for theskipped
and theregression
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
After
Bug Fixes
Code Refactoring
Features
BREAKING CHANGES
createDiverseTest
tocreateDummyTests
exported via@japa/runner/factories
Full Changelog: japa/runner@v3.1.4...v4.0.0
Configuration
📅 Schedule: Branch creation - "before 12pm on Sunday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.