/
githubmirror
/
react-native
Обзор
Документация
Войти
/
githubmirror
/
react-native
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
private/helloworld/__tests__/App.test.tsx
18 строк
440 B
Tim Yung
RN: Move `{packages => private}/helloworld` (#51934)
12 июн 2025, 03:39
12 июн 2025, 03:39
f0f71ea
Код
Авторство
О чём код?
/** * 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. * * @format */ import App from '../App'; import React from 'react'; import ReactTestRenderer from 'react-test-renderer'; test('renders correctly', async () => { await ReactTestRenderer.act(() => { ReactTestRenderer.create(<App />); }); });