Skip to content

Update ExpanderExamplePage.tsx

40a821a
Select commit
Loading
Failed to load commit list.
Open

Update ExpanderExamplePage.tsx #551

Update ExpanderExamplePage.tsx
40a821a
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.react-native-gallery-PR failed Aug 26, 2025 in 32m 8s

Build #20250826.5 had test failures

Details

Tests

  • Failed: 1 (3.13%)
  • Passed: 31 (96.88%)
  • Other: 0 (0.00%)
  • Total: 32

Annotations

Check failure on line 113 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.react-native-gallery-PR

Build log #L113

Cmd.exe exited with code '1'.

Check failure on line 1 in Expander Example Page

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.react-native-gallery-PR

Expander Example Page

Test failed
Raw output
  ● Expander Example Page

    expect(received).toMatchSnapshot()

    Snapshot name: `Expander Example Page 1`

    - Snapshot  - 1
    + Received  + 1

    @@ -2836,11 +2836,11 @@
                      content={
                        {
                          "string": "Source Code",
                        }
                      }
    -                 navigateUri="***/blob/main/src/examples/ExperimentalExpanderExamplePage.tsx"
    +                 navigateUri="***/blob/main/src/examples/ExpanderExamplePage.tsx"
                      type="Windows.UI.Xaml.Controls.HyperlinkButton"
                    />
                  </View>
                  <View
                    style={

      108 |     tree = create(<ExpanderExamplePage />);
      109 |   });
    > 110 |   expect(tree.toJSON()).toMatchSnapshot();
          |                         ^
      111 | });
      112 |
      113 | // Issue: Tests hang when this test is enabled

      at Object.toMatchSnapshot (__tests__/App-test.js:110:25)
      at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)

 › 1 snapshot failed.
Snapshot Summary
 › 1 snapshot failed from 1 test suite. Inspect your code changes or re-run jest with `-u` to update them.