Skip to content

Commit

Permalink
test(metro-config): fix logical merge conflict breaking build (#3272)
Browse files Browse the repository at this point in the history
TypeScript 5.5.4 and this test got merged simultaneously so the type
error was never caught on CI.
  • Loading branch information
tido64 authored Aug 12, 2024
1 parent 3b29fea commit 5bb0c7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changeset/fast-lizards-talk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion packages/metro-config/test/expoConfig.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe("applyExpoWorkarounds()", () => {

ok("resolveRequest" in config.resolver);

applyExpoWorkarounds(config, {});
applyExpoWorkarounds(config as MetroConfig, {});

ok(!("resolveRequest" in config.resolver));
});
Expand Down

0 comments on commit 5bb0c7f

Please sign in to comment.