diff --git a/src/renderers/testing/ReactTestEmptyComponent.js b/src/renderers/testing/ReactTestEmptyComponent.js index 067d5e8e043b..37ff674c0c62 100644 --- a/src/renderers/testing/ReactTestEmptyComponent.js +++ b/src/renderers/testing/ReactTestEmptyComponent.js @@ -7,6 +7,7 @@ * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule ReactTestEmptyComponent + * @preventMunge * @flow */ @@ -14,7 +15,7 @@ class ReactTestEmptyComponent { _currentElement: null; - + constructor() { this._currentElement = null; } diff --git a/src/renderers/testing/ReactTestRenderer.js b/src/renderers/testing/ReactTestRenderer.js index c053697ed5ed..47184fea0c1b 100644 --- a/src/renderers/testing/ReactTestRenderer.js +++ b/src/renderers/testing/ReactTestRenderer.js @@ -7,6 +7,7 @@ * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule ReactTestRenderer + * @preventMunge * @flow */ diff --git a/src/renderers/testing/ReactTestTextComponent.js b/src/renderers/testing/ReactTestTextComponent.js index a6e61a655dca..e87e1bd4b782 100644 --- a/src/renderers/testing/ReactTestTextComponent.js +++ b/src/renderers/testing/ReactTestTextComponent.js @@ -7,6 +7,7 @@ * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule ReactTestTextComponent + * @preventMunge * @flow */ @@ -16,7 +17,7 @@ import type { ReactText } from 'ReactTypes'; class ReactTestTextComponent { _currentElement: ReactText; - + constructor(element: ReactText) { this._currentElement = element; } diff --git a/src/test/ReactShallowRenderer.js b/src/test/ReactShallowRenderer.js index e16f8476117e..81712cca6ffe 100644 --- a/src/test/ReactShallowRenderer.js +++ b/src/test/ReactShallowRenderer.js @@ -7,6 +7,7 @@ * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule ReactShallowRenderer + * @preventMunge */ 'use strict';