react-native-windows
Version: 
React Native for Windows
39 lines (32 loc) • 900 B
JavaScript
/**
 * 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
 */
// These don't actually exist anywhere in the code.
;
import type {ModuleConfig} from '../NativeModules';
const remoteModulesConfig: $ReadOnlyArray<ModuleConfig> = [
  [
    'RemoteModule1',
    null,
    ['remoteMethod', 'promiseMethod', 'promiseReturningMethod', 'syncMethod'],
    [2 /* promiseReturningMethod */],
    [3 /* syncMethod */],
  ],
  [
    'RemoteModule2',
    null,
    ['remoteMethod', 'promiseMethod', 'promiseReturningMethod', 'syncMethod'],
    [2 /* promiseReturningMethod */],
    [3 /* syncMethod */],
  ],
];
const MessageQueueTestConfig = {
  remoteModuleConfig: remoteModulesConfig,
};
module.exports = MessageQueueTestConfig;