diff --git a/ReactCommon/react/bridging/tests/BridgingTest.h b/ReactCommon/react/bridging/tests/BridgingTest.h index 38fbef8354cdd4..aa8ed839da5991 100644 --- a/ReactCommon/react/bridging/tests/BridgingTest.h +++ b/ReactCommon/react/bridging/tests/BridgingTest.h @@ -38,7 +38,7 @@ class BridgingTest : public ::testing::Test { runtime(hermes::makeHermesRuntime( ::hermes::vm::RuntimeConfig::Builder() // Make promises work with Hermes microtasks. - .withVMExperimentFlags(1 << 14 /* JobQueue */) + .withMicrotaskQueue(true) .build())), rt(*runtime) {}