diff --git a/private/react-native-fantom/runner/getFantomTestConfigs.js b/private/react-native-fantom/runner/getFantomTestConfigs.js index 918802f5dc91..d86d7c91617c 100644 --- a/private/react-native-fantom/runner/getFantomTestConfigs.js +++ b/private/react-native-fantom/runner/getFantomTestConfigs.js @@ -72,9 +72,9 @@ export const DEFAULT_FEATURE_FLAGS: FantomTestConfigFeatureFlags = { const FANTOM_FLAG_FORMAT = /^(\w+):((?:\w+)|\*)$/; -const FANTOM_BENCHMARK_FILENAME_RE = /[Bb]enchmark-itest\./g; +const FANTOM_BENCHMARK_FILENAME_RE = /[Bb]enchmark-itest\./; const FANTOM_BENCHMARK_SUITE_RE = - /\n(Fantom\.)?unstable_benchmark(\s*)\.suite\(/g; + /\n(Fantom\.)?unstable_benchmark(\s*)\.suite\(/; const MAX_FANTOM_CONFIGURATION_VARIATIONS = 12;