Skip to content

Commit

Permalink
Ignore eslint warning on require test
Browse files Browse the repository at this point in the history
Reviewed By: mjesun

Differential Revision: D9126511

fbshipit-source-id: 48b9d514c986f6611431acdee5e22398c22e4aee
  • Loading branch information
rafeca authored and facebook-github-bot committed Aug 2, 2018
1 parent ced39e9 commit d7ddbba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/metro/src/lib/polyfills/__tests__/require-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ describe('require', () => {
moduleSystem.nativeRequire = jest
.fn()
.mockImplementation((localId, bundleId) => {
// eslint-disable-next-line no-bitwise
moduleSystem.__d(mockFactory, (bundleId << 16) + localId, [2, 3]);
});
createModuleSystem(moduleSystem, false);
Expand Down

0 comments on commit d7ddbba

Please sign in to comment.