Skip to content

Commit

Permalink
it helps if you commit all of your code
Browse files Browse the repository at this point in the history
  • Loading branch information
benwilson512 committed Nov 23, 2023
1 parent fd61373 commit bba6596
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/support/test_telemetry_helper.ex
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
defmodule Absinthe.TestTelemetryHelper do
def send_to_pid(event, measurements, metadata, config) do
pid = config[:pid] || self()
send(pid, {:telemetry_event, {event, measurements, metadata, config}})
end
end

0 comments on commit bba6596

Please sign in to comment.