Skip to content

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

368 B
Raw Blame
defmodule PlausibleTest do
  use ExUnit.Case, async: true

  describe "product_name/0" do
    @tag :ce_build_only
    test "returns the correct name in CE" do
      assert Plausible.product_name() == "Plausible CE"
    end

    @tag :ee_only
    test "returns the correct name in EE" do
      assert Plausible.product_name() == "Plausible Analytics"
    end
  end
end