Skip to content

chore: show root path when tests not found#875

Merged
9aoy merged 4 commits intomainfrom
filter-root
Jan 19, 2026
Merged

chore: show root path when tests not found#875
9aoy merged 4 commits intomainfrom
filter-root

Conversation

@9aoy
Copy link
Copy Markdown
Collaborator

@9aoy 9aoy commented Jan 17, 2026

Summary

support show root path when tests not found.

image

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings January 17, 2026 07:41
@netlify
Copy link
Copy Markdown

netlify bot commented Jan 17, 2026

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit 3406bb5
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/696b411ab2ea0300082aa22a
😎 Deploy Preview https://deploy-preview-875--rstest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances error messages when no test files are found by displaying the root path of each project. This helps developers understand where the test framework is searching for test files.

Changes:

  • Added path normalization to formatRootStr helper function to ensure consistent path format
  • Added root path logging in the "no test files found" error message output
  • Added normalize import to config.ts (unused)

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
packages/core/src/utils/helper.ts Wrapped the return value of formatRootStr in normalize() to ensure consistent path normalization
packages/core/src/core/runTests.ts Added logging of the root path when no test files are found to help with debugging
packages/core/src/config.ts Added normalize import from 'pathe' (appears to be unused)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

9aoy and others added 2 commits January 17, 2026 15:45
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@9aoy 9aoy merged commit 1d5c8b7 into main Jan 19, 2026
18 of 19 checks passed
@9aoy 9aoy deleted the filter-root branch January 19, 2026 03:06
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