diff --git a/jest/integration/config/jest.config.js b/jest/integration/config/jest.config.js index 1252b6d6196..b00053063fe 100644 --- a/jest/integration/config/jest.config.js +++ b/jest/integration/config/jest.config.js @@ -18,6 +18,7 @@ module.exports = { '/packages/react-native', '/jest/integration/runtime', ], + moduleFileExtensions: [...baseConfig.moduleFileExtensions, 'cpp', 'h'], // This allows running Meta-internal tests with the `-test.fb.js` suffix. testRegex: '/__tests__/.*-itest(\\.fb)?\\.js$', testPathIgnorePatterns: baseConfig.testPathIgnorePatterns,