Skip to content

Commit 42b94fc

Browse files
andrewdacenkofacebook-github-bot
authored andcommitted
Add babel-plugin-istanbul for code covearage (#53413)
Summary: Pull Request resolved: #53413 Changelog: [Internal] Add dependency on istanbul plugin so we can collect code coverage. Reviewed By: christophpurrer Differential Revision: D80723825 fbshipit-source-id: bf0ac0e49e12ea1b01f72c11362019ef68e09ff9
1 parent 8881faa commit 42b94fc

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

private/react-native-fantom/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"scripts": {
88
"build": "./build.sh"
99
},
10+
"dependencies": {
11+
"babel-plugin-istanbul": "^7.0.0"
12+
},
1013
"peerDependencies": {
1114
"jest": "^29.7.0",
1215
"jest-snapshot": "^29.7.0"

yarn.lock

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2885,6 +2885,17 @@ babel-plugin-istanbul@^6.1.1:
28852885
istanbul-lib-instrument "^5.0.4"
28862886
test-exclude "^6.0.0"
28872887

2888+
babel-plugin-istanbul@^7.0.0:
2889+
version "7.0.0"
2890+
resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-7.0.0.tgz#629a178f63b83dc9ecee46fd20266283b1f11280"
2891+
integrity sha512-C5OzENSx/A+gt7t4VH1I2XsflxyPUmXRFPKBxt33xncdOmq7oROVM3bZv9Ysjjkv8OJYDMa+tKuKMvqU/H3xdw==
2892+
dependencies:
2893+
"@babel/helper-plugin-utils" "^7.0.0"
2894+
"@istanbuljs/load-nyc-config" "^1.0.0"
2895+
"@istanbuljs/schema" "^0.1.3"
2896+
istanbul-lib-instrument "^6.0.2"
2897+
test-exclude "^6.0.0"
2898+
28882899
babel-plugin-jest-hoist@^29.6.3:
28892900
version "29.6.3"
28902901
resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz#aadbe943464182a8922c3c927c3067ff40d24626"
@@ -5552,7 +5563,7 @@ istanbul-lib-instrument@^5.0.4:
55525563
istanbul-lib-coverage "^3.2.0"
55535564
semver "^6.3.0"
55545565

5555-
istanbul-lib-instrument@^6.0.0:
5566+
istanbul-lib-instrument@^6.0.0, istanbul-lib-instrument@^6.0.2:
55565567
version "6.0.3"
55575568
resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz#fa15401df6c15874bcb2105f773325d78c666765"
55585569
integrity sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==

0 commit comments

Comments
 (0)