Skip to content

Commit 827db0a

Browse files
Danny Sufacebook-github-bot
authored andcommitted
Explicitly include hermes.h in RCTHostTests.mm (facebook#50022)
Summary: Pull Request resolved: facebook#50022 RCTHostTests.mm calls `makeHermesRuntime`, which is from `hermes.h`. Explicitly include the header so that RCTHostTests isn't getting it indirectly. Changelog: [Internal] Reviewed By: javache Differential Revision: D71146426 fbshipit-source-id: 5a5f5a466e1920797c4531773ca23f53eb1203b7
1 parent 8eaa8f5 commit 827db0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-native/ReactCommon/react/runtime/iostests/RCTHostTests.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#import <ReactCommon/RCTHost.h>
1616
#import <ReactCommon/RCTInstance.h>
1717
#import <ReactCommon/RCTTurboModuleManager.h>
18+
#import <hermes/hermes.h>
1819

1920
#import <OCMock/OCMock.h>
2021

0 commit comments

Comments
 (0)