Skip to content

test: enhance test utils with errorTree({ project, stackTrace })#9839

Merged
sheremet-va merged 4 commits intovitest-dev:mainfrom
hi-ogawa:03-10-test_enhance_errortree_test_utils
Mar 19, 2026
Merged

test: enhance test utils with errorTree({ project, stackTrace })#9839
sheremet-va merged 4 commits intovitest-dev:mainfrom
hi-ogawa:03-10-test_enhance_errortree_test_utils

Conversation

@hi-ogawa
Copy link
Copy Markdown
Collaborator

Description

I was debugging #9795 and I thought something like this could be useful, but it turned out not much. Got some other parts cleaned up a bit, so pushing it here anyways.

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.
  • Please check Allow edits by maintainers to make review process faster. Note that this option is not available for repositories that are owned by Github organizations.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

@hi-ogawa hi-ogawa changed the title test: enhance errorTree test utils test: enhance test utils with errorTree({ project, stackTrace }) Mar 10, 2026
@hi-ogawa hi-ogawa marked this pull request as ready for review March 10, 2026 10:26
@sheremet-va sheremet-va merged commit 914a02b into vitest-dev:main Mar 19, 2026
13 of 16 checks passed
@hi-ogawa hi-ogawa deleted the 03-10-test_enhance_errortree_test_utils branch March 19, 2026 08:36
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