Skip to content

Conversation

@9aoy
Copy link
Contributor

@9aoy 9aoy commented Oct 23, 2025

Summary

fix: normalize <rootDir> in windows

Related Links

Checklist

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

@Copilot Copilot AI review requested due to automatic review settings October 23, 2025 12:03
@netlify
Copy link

netlify bot commented Oct 23, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit 36f064b
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/68faf685803b52000851d31d
😎 Deploy Preview https://deploy-preview-645--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
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 adds end-to-end tests for the <rootDir> placeholder functionality in rstest configuration. The tests verify that <rootDir> correctly resolves paths in both include and exclude patterns.

Key changes:

  • Adds a test suite that validates <rootDir> pattern matching with fixture files
  • Creates a test configuration using <rootDir> in include/exclude patterns
  • Provides fixture test files to verify selective test file execution

Reviewed Changes

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

File Description
e2e/rootDir/index.test.ts Main test file that runs rstest CLI with <rootDir> configuration and validates execution
e2e/rootDir/fixtures/rstest.config.ts Test configuration demonstrating <rootDir> usage in include/exclude patterns
e2e/rootDir/fixtures/index1.test.ts Fixture test file intended to be excluded by the configuration
e2e/rootDir/fixtures/index.test.ts Fixture test file intended to be included and executed

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@9aoy 9aoy changed the title test: add <rootDir> tests fix: normalize <rootDir> in windows Oct 24, 2025
@9aoy 9aoy merged commit 7c7fb1e into main Oct 24, 2025
18 checks passed
@9aoy 9aoy deleted the rootDir branch October 24, 2025 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant