summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index bcc133790d1..1a930886411 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -145,6 +145,12 @@ RSpec.configure do |config|
.with(:force_autodevops_on_by_default, anything)
.and_return(false)
+ # Disable Pendo tracking features by default as we do not want tests to send
+ # data to Pendo.
+ # Once we move away from Feature flag use for Pendo into using our built in
+ # feature flag setup, we can remove this.
+ stub_feature_flags(pendo_tracking: false)
+
Gitlab::ThreadMemoryCache.cache_backend.clear
end