Skip to content

test: fix config tests failing when a platform is not installed#2740

Merged
tido64 merged 1 commit intotrunkfrom
tido/fix-config-test
Apr 15, 2026
Merged

test: fix config tests failing when a platform is not installed#2740
tido64 merged 1 commit intotrunkfrom
tido/fix-config-test

Conversation

@tido64
Copy link
Copy Markdown
Member

@tido64 tido64 commented Apr 15, 2026

Description

Nightly builds fail when some platforms are not present

Platforms affected

  • Android
  • iOS
  • macOS
  • visionOS
  • Windows

Test plan

  • packages/app/example:
    % node --test test/config.test.mjs
    ▶ react-native config
      ✔ contains Android config (587.807625ms)
      ✔ contains iOS config (123.6665ms)
      ﹣ contains macOS config (0.060583ms) # SKIP
      ﹣ contains Windows config (0.0495ms) # SKIP
    ✔ react-native config (770.607791ms)
    ℹ tests 5
    ℹ suites 0
    ℹ pass 3
    ℹ fail 0
    ℹ cancelled 0
    ℹ skipped 2
    ℹ todo 0
    ℹ duration_ms 822.166625
    
  • packages/example-macos (on macOS):
    % node --test test/config.test.mjs
    ▶ react-native config
      ✔ contains Android config (592.220875ms)
      ✔ contains iOS config (130.035708ms)
      ✔ contains macOS config (127.364542ms)
      ﹣ contains Windows config (0.07625ms) # SKIP
    ✔ react-native config (908.558208ms)
    ℹ tests 5
    ℹ suites 0
    ℹ pass 4
    ℹ fail 0
    ℹ cancelled 0                                                                                              ℹ skipped 1                                                                                                ℹ todo 0
    
  • packages/example-windows (on macOS):
    % node --test test/config.test.mjs
    ▶ react-native config
      ✔ contains Android config (696.737792ms)
      ✔ contains iOS config (119.9925ms)
      ﹣ contains macOS config (0.055042ms) # SKIP
      ﹣ contains Windows config (0.050125ms) # SKIP
    ✔ react-native config (876.34325ms)
    ℹ tests 5
    ℹ suites 0
    ℹ pass 3
    ℹ fail 0
    ℹ cancelled 0
    ℹ skipped 2
    ℹ todo 0
    ℹ duration_ms 939.712416
    

@tido64 tido64 requested a review from JasonVMo as a code owner April 15, 2026 12:17
@tido64 tido64 enabled auto-merge (squash) April 15, 2026 13:00
@tido64 tido64 merged commit 56269b0 into trunk Apr 15, 2026
30 checks passed
@tido64 tido64 deleted the tido/fix-config-test branch April 15, 2026 14:39
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.

2 participants