hunk.code_window:       'Image with build environment. [Learn more about it here](../../build-reference/infrastructure).',
       ],
     },
     {
       name: 'resourceClass',
       enum: ['default', 'medium', 'm1-medium', 'intel-medium'],
       description: [
         'The iOS-specific resource class that will be used to run this build. [Learn more](../../build-reference/infrastructure#ios-build-server-configurations)',
         '- `default` maps to `intel-medium`',
         '- `medium` maps to `intel-medium`',
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:     enum: ['default', 'medium', 'm-medium', 'intel-medium'],
  
hunk.file_path: docs/public/static/schemas/unversioned/eas-json-build-ios-schema.js
hunk.type: replace
file: /*
   * Copyright (c) Meta Platforms, Inc. and affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  
  #include <gtest/gtest.h>
  #include <ABI46_0_0React/ABI46_0_0renderer/attributedstring/ParagraphAttributes.h>
  #include <ABI46_0_0React/ABI46_0_0renderer/attributedstring/conversions.h>
  #include <ABI46_0_0React/ABI46_0_0renderer/attributedstring/primitives.h>
  
  namespace ABI46_0_0facebook {
  namespace ABI46_0_0React {
  
  #ifdef ANDROID
  
  TEST(ParagraphAttributesTest, testToDynamic) {
    auto paragraphAttributes = ParagraphAttributes{};
    paragraphAttributes.maximumNumberOfLines = 2;
    paragraphAttributes.adjustsFontSizeToFit = false;
    paragraphAttributes.ellipsizeMode = EllipsizeMode::Middle;
  
    auto result = toDynamic(paragraphAttributes);
    ABI46_0_0EXPECT_EQ(
        result["maximumNumberOfLines"], paragraphAttributes.maximumNumberOfLines);
    ABI46_0_0EXPECT_EQ(
        result["adjustsFontSizeToFit"], paragraphAttributes.adjustsFontSizeToFit);
    ABI46_0_0EXPECT_EQ(
        result["ellipsizeMode"], toString(paragraphAttributes.ellipsizeMode));
  }
  
  #endif
  
  } // namespace ABI46_0_0React
  } // namespace ABI46_0_0facebook
  