mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
fix coverage patterns (#53881)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53881 Changelog: [Internal] To make sure that coverage is insertect correctly when run in different metro setup where patterns do not match perfectly, we need to add glob prefix Reviewed By: sammy-SC Differential Revision: D82968565 fbshipit-source-id: c2676ef4c774411938039fc5b98a3b953f6ec916
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b10faf6c02
commit
2e4da10b52
@@ -32,12 +32,12 @@ const transform: BabelTransformer['transform'] = (
|
||||
require.resolve('babel-plugin-istanbul'),
|
||||
{
|
||||
include: [
|
||||
'packages/react-native/Libraries/**/*.js',
|
||||
'packages/react-native/src/**/*.js',
|
||||
'packages/virtualized-lists/**/*.js',
|
||||
'**/packages/react-native/Libraries/**/*.js',
|
||||
'**/packages/react-native/src/**/*.js',
|
||||
'**/packages/virtualized-lists/**/*.js',
|
||||
],
|
||||
exclude: [
|
||||
'packages/react-native/Libraries/Renderer/**',
|
||||
'**/packages/react-native/Libraries/Renderer/**',
|
||||
'**/__tests__/**',
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user