Skip to content

Conversation

@9aoy
Copy link
Contributor

@9aoy 9aoy commented Nov 11, 2025

Summary

fix: should get project's tsconfigPath correctly.

expect get rstest/packages/core/tests/tsconfig.json, but got rstest/tests/tsconfig.json
img_v3_02ru_5e7d7381-4c4a-4c79-87a8-c380e46d07ag

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).
Copilot AI review requested due to automatic review settings November 11, 2025 09:37
@netlify
Copy link

netlify bot commented Nov 11, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit d625d98
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/691303d04bdd300008c7d27e
😎 Deploy Preview https://deploy-preview-687--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.

Copilot finished reviewing on behalf of 9aoy November 11, 2025 09:39
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 fixes an issue where relative tsconfigPath values in project configurations were not being resolved correctly relative to the project root, causing incorrect path resolution (e.g., getting rstest/tests/tsconfig.json instead of the expected rstest/packages/core/tests/tsconfig.json).

  • Adds path resolution logic for project-level tsconfigPath configuration
  • Updates the core package config to demonstrate the fix with a relative path

Reviewed Changes

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

File Description
packages/core/src/core/rstest.ts Adds logic to resolve relative tsconfigPath to absolute paths based on project root
packages/core/rstest.config.ts Adds tsconfigPath configuration using a relative path to demonstrate the fix

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants