Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add PrebuildClean command unit test - #2770

Merged
ConnorQi01 merged 2 commits into
masterfrom
dev/v-peq/prebuildClean_tests
Jul 10, 2026
Merged

Add PrebuildClean command unit test#2770
ConnorQi01 merged 2 commits into
masterfrom
dev/v-peq/prebuildClean_tests

Conversation

@ConnorQi01

@ConnorQi01 ConnorQi01 commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add unit coverage for the Expo Prebuild Clean command.

Proposed Changes

  • Add a PrebuildClean command unit test mirroring the existing Prebuild command coverage.
  • Verify the command uses the Expo Prebuild Clean logger channel.
  • Verify the node modules root lookup and command executor invocation use the project root.
  • Verify the exact command string is
    px expo prebuild --clean.

Test Plan

  • pm run build
  • pm test (fails in existing n-extension commandsRegistered test because the registered command list includes
    eactNative.publishToExpHost; the new prebuildCleanCommand test passes.)

Closes #2755

@ConnorQi01

Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.

@ConnorQi01
ConnorQi01 merged commit 72c021c into master Jul 10, 2026
8 checks passed
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.

[Feature] Add unit tests for PrebuildClean command

2 participants