/
githubmirror
/
react-native
Обзор
Документация
Войти
/
githubmirror
/
react-native
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/jest-preset/jest/react-native-env.js
17 строк
414 B
Phil Pluckthun
Split out Jest preset to `@react-native/jest-preset` (#55169)
18 фев 2026, 20:32
18 фев 2026, 20:32
c4ae055
Код
Авторство
О чём код?
/** * 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. * * @noflow * @format */ 'use strict'; const NodeEnv = require('jest-environment-node').TestEnvironment; module.exports = class ReactNativeEnv extends NodeEnv { customExportConditions = ['require', 'react-native']; };