Skip to content

Commit

Permalink
Enable HERMES_IS_MOBILE_BUILD in buck
Browse files Browse the repository at this point in the history
Summary:
As an initial step, enable `HERMES_IS_MOBILE_BUILD` while keeping flow
and TS parsing enabled for now.

Reviewed By: dannysu

Differential Revision: D68815576

fbshipit-source-id: 3632e7f49eb791a21d58f943e6cf49d87812fc50
  • Loading branch information
neildhar authored and facebook-github-bot committed Jan 31, 2025
1 parent 1a5a235 commit 35142af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unittests/Parser/JSLexerTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1164,6 +1164,7 @@ TEST(JSLexerTest, AtSignTest) {
}
}

#if HERMES_PARSE_JSX
TEST(JSLexerTest, JSXTest) {
JSLexer::Allocator alloc;
SourceErrorManager sm;
Expand All @@ -1182,6 +1183,7 @@ TEST(JSLexerTest, JSXTest) {
ASSERT_EQ(TokenKind::jsx_text, lex.advanceInJSXChild()->getKind());
EXPECT_STREQ("qwerty", lex.getCurToken()->getJSXTextRaw()->c_str());
}
#endif

TEST(JSLexerTest, StoreCommentsTest) {
JSLexer::Allocator alloc;
Expand Down

0 comments on commit 35142af

Please sign in to comment.