/** * 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. * * @flow strict-local * @format * @oncall react_native */ 'use strict'; const ReactNativeTestTools = require('../../../Utilities/ReactNativeTestTools'); const ActivityIndicator = require('../ActivityIndicator'); const React = require('react'); describe('', () => { it('should set displayName to prevent regressions', () => { expect(ActivityIndicator.displayName).toBe('ActivityIndicator'); }); it('should render as expected', () => { ReactNativeTestTools.expectRendersMatchingSnapshot( 'ActivityIndicator', () => , () => { jest.dontMock('../ActivityIndicator'); }, ); }); });