Skip to content

Commit

Permalink
disable prefer-onyx-connect-in-libs in Onyx mock
Browse files Browse the repository at this point in the history
  • Loading branch information
marcochavezf committed Nov 8, 2021
1 parent c6fb00f commit 7f22cab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions __mocks__/react-native-onyx.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable rulesdir/prefer-onyx-connect-in-libs */
import Onyx, {withOnyx} from 'react-native-onyx';

let connectCallbackDelay = 0;
Expand All @@ -22,3 +23,4 @@ export default {
addDelayToConnectCallback,
};
export {withOnyx};
/* eslint-enable rulesdir/prefer-onyx-connect-in-libs */

0 comments on commit 7f22cab

Please sign in to comment.