Skip to content

Assert a Segment call #36

Description

@rlopzc

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions