analytics-elixir
analytics-elixir copied to clipboard
Assert a Segment call
Hello! Thanks for this lib, very much needed
Is there a way to assert in a test that a call was made to Segment?
I tried using send_to_http: false but the debug log level is not recorded in the test environment. Changing it in config/test.exs doesn't make sense because ecto also uses debug level for queries which makes it hard to assert for the Segment debug log.
Thanks!