diff --git a/src/ReactTestHostConfig.js b/src/ReactTestHostConfig.js index 20131df..57eb83e 100644 --- a/src/ReactTestHostConfig.js +++ b/src/ReactTestHostConfig.js @@ -10,7 +10,6 @@ import warning from 'shared/warning'; import * as TestRendererScheduling from './ReactTestRendererScheduling'; -/* eslint-disable no-use-before-define */ export type Type = string; export type Props = Object; export type Container = {| @@ -36,7 +35,6 @@ export type UpdatePayload = Object; export type ChildSet = void; // Unused export type TimeoutHandle = TimeoutID; export type NoTimeout = -1; -/* eslint-enable no-use-before-define */ export * from 'shared/HostConfigWithNoPersistence'; export * from 'shared/HostConfigWithNoHydration'; diff --git a/src/ReactTestRenderer.js b/src/ReactTestRenderer.js index 4b0c50d..ca9e594 100644 --- a/src/ReactTestRenderer.js +++ b/src/ReactTestRenderer.js @@ -37,7 +37,6 @@ import ReactVersion from 'shared/ReactVersion'; import * as ReactTestHostConfig from './ReactTestHostConfig'; import * as TestRendererScheduling from './ReactTestRendererScheduling'; -/* eslint-disable no-use-before-define */ type TestRendererOptions = { createNodeMock: (element: React$Element) => any, unstable_isAsync: boolean, @@ -58,7 +57,6 @@ type FindOptions = $Shape<{ }>; export type Predicate = (node: ReactTestInstance) => ?boolean; -/* eslint-enable no-use-before-define */ const defaultTestOptions = { createNodeMock: function() {