Skip to content

Add iOS asset catalog tests for metro-service#4177

Draft
vivekjm wants to merge 1 commit into
microsoft:mainfrom
vivekjm:codex/metro-service-ios-tests
Draft

Add iOS asset catalog tests for metro-service#4177
vivekjm wants to merge 1 commit into
microsoft:mainfrom
vivekjm:codex/metro-service-ios-tests

Conversation

@vivekjm
Copy link
Copy Markdown
Contributor

@vivekjm vivekjm commented May 24, 2026

Summary

  • add iOS asset catalog coverage for @rnx-kit/metro-service
  • verify cleanAssetCatalog, image set generation, catalog asset detection, and Contents.json writing
  • fix cleanAssetCatalog so existing .imageset directories are removed recursively before new assets are written

Fixes #325

Test plan

  • PATH="$HOME/.nvm/versions/node/v22.22.0/bin:$PATH" yarn workspace @rnx-kit/metro-service test
  • PATH="$HOME/.nvm/versions/node/v22.22.0/bin:$PATH" yarn workspace @rnx-kit/metro-service lint

Note: the default shell Node is v20.15.0, which cannot run the repo test script because it lacks fs.globSync; I ran the checks with the locally installed Node v22.22.0.

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.

Add tests for @rnx-kit/metro-service

1 participant