/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/Libraries/BatchedBridge/__mocks__/MessageQueueTestModule.js
24 строки
630 B
Tim Yung
RN: Private Package for Monorepo ESLint Rules (#51858)
10 июн 2025, 06:30
10 июн 2025, 06:30
d17f7d0
Код
Авторство
О чём код?
/** * 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 */ 'use strict'; /** * Dummy module that only exists for the sake of proving that the message queue * correctly dispatches to commonJS modules. The `testHook` is overridden by test * cases. */ const MessageQueueTestModule = { testHook1: function () {}, testHook2: function () {}, }; // eslint-disable-next-line @react-native/monorepo/no-commonjs-exports module.exports = MessageQueueTestModule;