Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Minor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Mar 24, 2021
1 parent 518c266 commit 6052ed3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ReactSeventeenAdapter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint no-use-before-define: off */
/* eslint-disable no-use-before-define */
import React from 'react';
import ReactDOM from 'react-dom';
import ReactDOMServer from 'react-dom/server';
Expand Down Expand Up @@ -600,11 +600,11 @@ class ReactSeventeenAdapter extends EnzymeAdapter {
};

return {
// eslint-disable-next-line consistent-return
render(el, unmaskedContext, {
providerValues = new Map(),
} = {}) {
cachedNode = el;
/* eslint consistent-return: 0 */
if (typeof el.type === 'string') {
isDOM = true;
} else if (isContextProvider(el)) {
Expand Down

0 comments on commit 6052ed3

Please sign in to comment.