diff --git a/private/react-native-fantom/src/Benchmark.js b/private/react-native-fantom/src/Benchmark.js index a4b8af047b7..f93912bc967 100644 --- a/private/react-native-fantom/src/Benchmark.js +++ b/private/react-native-fantom/src/Benchmark.js @@ -215,7 +215,9 @@ export function suite( 'Failing focused test to prevent it from being committed', ); } - reportBenchmarkResult(createBenchmarkResultsObject(bench, tasks)); + if (!isTestOnly) { + reportBenchmarkResult(createBenchmarkResultsObject(bench, tasks)); + } }); const test = (name: string, fn: SyncFn, options?: FnOptions): SuiteAPI => {