From ae30cfd188ec595d9e489da466d7ec09fda0e3c9 Mon Sep 17 00:00:00 2001 From: Rodrigo Ribeiro Date: Fri, 8 Feb 2019 18:11:55 -0300 Subject: [PATCH] init variable --- packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js b/packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js index 3f1d57a20..c301565e9 100644 --- a/packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js +++ b/packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js @@ -357,7 +357,7 @@ class ReactSixteenAdapter extends EnzymeAdapter { let isDOM = false; let cachedNode = null; let cachedComponent = null; - let wrappedEl; + let wrappedEl = null; return { render(el, unmaskedContext) { cachedNode = el;