microsoft / microsoft/react-native-windows
RNW CLI projectConfig and autolink tests only test the old architecture templates
Open
@vineethkuttan is already working on this.
Since Nov 21, 2025.
Area: Autolinking
Area: CLI
Area: Tests
bug
enhancement
New Architecture
- Dominant language
- C++
- Stars
- 17.3k
- Forks
- 1.2k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 33
Description
Problem Description
In @react-native-windows/cli we have tests for autolinking (i.e. react-native autolink-windows) and project config (i.e. react-native config`) that create test projects to verify functionality.
The code explicitly uses a custom project creation that uses the "old" templating system and thereby does not test new architecture projects.
Steps To Reproduce
- Open
packages/@react-native-windows/cli - Run
yarn test
Expected Results
Tests use new architecture templates to ensure that they work properly.
CLI version
15.0.0-alpha.2
Environment
info Fetching system and libraries information...
System:
OS: Windows 11 10.0.26400
CPU: (20) x64 13th Gen Intel(R) Core(TM) i7-13800H
Memory: 16.00 GB / 31.83 GB
Binaries:
Node:
version: 18.18.0
path: C:\Program Files\nodejs\node.EXE
Yarn:
version: 1.22.22
path: C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm:
version: 9.8.1
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
AllowAllTrustedApps: Enabled
Versions:
- 10.0.19041.0
- 10.0.22000.0
- 10.0.22621.0
IDEs:
Android Studio: Not Found
Visual Studio:
- 17.13.35931.197 (Visual Studio Enterprise 2022)
Languages:
Java: Not Found
Ruby: Not Found
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-windows: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Community Modules
No response
Target Platform Version
None
Target Device(s)
No response
Visual Studio Version
None
Build Configuration
None
Snack, code example, screenshot, or link to a repository
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.