mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
Watch changes in C++ files (#47871)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/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
This commit is contained in:
parent
92a476661c
commit
9f604dbd43
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user