Summary: Some non-semantic changes. Mostly an earlier rename that was accidentally done only locally rather than across the codebase Also support `.spec` test extension, which is more idiomatic Jest, since we don't use the `.node` and `.electron` distinction anymore anyway. Reviewed By: jknoxville Differential Revision: D22976438 fbshipit-source-id: f3abedb36cbac1e835295177117ccbca492a67a1
39 lines
1.2 KiB
TypeScript
39 lines
1.2 KiB
TypeScript
/**
|
|
* Copyright (c) Facebook, Inc. and its 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 './plugin/PluginBase';
|
|
import * as TestUtilites from './test-utils/test-utils';
|
|
|
|
export {SandyPluginInstance, PluginClient} from './plugin/Plugin';
|
|
export {
|
|
Device,
|
|
DeviceLogEntry,
|
|
DeviceLogListener,
|
|
DevicePluginClient,
|
|
LogLevel,
|
|
SandyDevicePluginInstance,
|
|
DeviceType,
|
|
} from './plugin/DevicePlugin';
|
|
export {SandyPluginDefinition} from './plugin/SandyPluginDefinition';
|
|
export {SandyPluginRenderer} from './plugin/PluginRenderer';
|
|
export {SandyPluginContext, usePlugin} from './plugin/PluginContext';
|
|
export {createState, useValue, Atom} from './state/atom';
|
|
export {FlipperLib} from './plugin/FlipperLib';
|
|
export {
|
|
MenuEntry,
|
|
NormalizedMenuEntry,
|
|
buildInMenuEntries,
|
|
} from './plugin/MenuEntry';
|
|
|
|
// It's not ideal that this exists in flipper-plugin sources directly,
|
|
// but is the least pain for plugin authors.
|
|
// Probably we should make sure that testing-library doesn't end up in our final Flipper bundle (which packages flipper-plugin)
|
|
// T69106962
|
|
export const TestUtils = TestUtilites;
|