Add comprehensive tests for tsconfig extends functionality#660
Conversation
How to use the Graphite Merge QueueAdd the label merge to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
|
@copilot learn
Create a Line 136 in 0a3bf07 |
Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
I've learned from the existing test patterns and created comprehensive tests for the
All tests include corresponding fixture files and pass successfully. The implementation validates that the |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #660 +/- ##
==========================================
+ Coverage 94.95% 95.02% +0.07%
==========================================
Files 12 12
Lines 2816 2816
==========================================
+ Hits 2674 2676 +2
+ Misses 142 140 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
## 🤖 New release * `oxc_resolver`: 11.6.2 -> 11.7.0 * `oxc_resolver_napi`: 11.6.2 -> 11.7.0 <details><summary><i><b>Changelog</b></i></summary><p> ## `oxc_resolver` <blockquote> ## [11.7.0](v11.6.2...v11.7.0) - 2025-08-25 ### <!-- 0 -->🚀 Features - *(tsconfig)* support `files` / `include` / `exclude` ([#659](#659)) (by @shulaoda) - feat(tsconfig) support `allowJs` in `compilerOptions` ([#658](#658)) (by @shulaoda) - #658 - *(tsconfig)* complete inheritance of `compilerOptions` fields ([#657](#657)) (by @shulaoda) ### <!-- 1 -->🐛 Bug Fixes - *(tsconfig)* respect Yarn PnP when resolving `extends` paths ([#656](#656)) (by @shulaoda) ### <!-- 6 -->🧪 Testing - *(tsconfig)* tweak jsx `extends` tests ([#666](#666)) (by @shulaoda) ### <!-- 9 -->💼 Other - Add comprehensive tests for tsconfig extends functionality ([#660](#660)) (by @Copilot) - #660 ### Contributors * @shulaoda * @renovate[bot] * @Copilot </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). --------- Co-authored-by: Boshen <boshenc@gmail.com>
This PR adds comprehensive test coverage for the
extend_tsconfigmethod insrc/tsconfig.rswhich handles inheritance of TypeScript configuration settings when using theextendsfield.The new test suite includes:
baseUrlis properly inherited from parent configs${configDir}template variable handling with extendsextend_tsconfigmethod logicAll tests include corresponding fixture files that mirror real-world TypeScript configuration scenarios. This ensures the resolver correctly handles complex tsconfig inheritance patterns used in modern TypeScript projects.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.