Skip to content

Commit

Permalink
Watch changes in C++ files (#47871)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #47871

Changelog: [internal]

No need to keep going back to save test files when we change C++ files and need to re-run tests :)

Reviewed By: javache

Differential Revision: D66293212

fbshipit-source-id: dc232e1d3f7f8ae1578e894ce14bd21ccf3c8ade
  • Loading branch information
rubennorte authored and facebook-github-bot committed Nov 21, 2024
1 parent 92a4766 commit 9f604db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jest/integration/config/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
'<rootDir>/packages/react-native',
'<rootDir>/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,
Expand Down

0 comments on commit 9f604db

Please sign in to comment.