Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Instrument missing mock to mute expectation error (#5675)

Adam Rutkowski69206475f9fd
diff --git a/test/plausible_web/live/installationv2_test.exs b/test/plausible_web/live/installationv2_test.exs
index 775d5d0d3b..2764f9e5dd 100644
--- a/test/plausible_web/live/installationv2_test.exs
+++ b/test/plausible_web/live/installationv2_test.exs
@@ -302,6 +302,8 @@ defmodule PlausibleWeb.Live.InstallationV2Test do
end
test "detected NPM installation shows npm tab", %{conn: conn, site: site} do
+ stub_dns_lookup_a_records(site.domain)
+
stub_detection_result(%{
"v1Detected" => false,
"gtmLikely" => false,