diff --git a/jest/setup.js b/jest/setup.js index 6285550434e491..680e391ba78bd2 100644 --- a/jest/setup.js +++ b/jest/setup.js @@ -113,6 +113,7 @@ const mockNativeModules = { }, AppState: { addEventListener: jest.fn(), + removeEventListener: jest.fn(), }, AsyncLocalStorage: { multiGet: jest.fn((keys, callback) => process.nextTick(() => callback(null, []))),