Skip to content

Commit

Permalink
add a comment, clean up requires
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Nov 3, 2023
1 parent 5382c89 commit c16bc0d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions lib/datadog/ci.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ def start_test(test_name, service_name: nil, operation_name: "test", tags: {})
recorder.trace_test(test_name, service_name: service_name, operation_name: operation_name, tags: tags)
end

# Trace any custom span
# @public_api
def trace(span_type, span_name, tags: {}, &block)
recorder.trace(span_type, span_name, tags: tags, &block)
end
Expand Down
1 change: 0 additions & 1 deletion lib/datadog/ci/contrib/cucumber/formatter.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# frozen_string_literal: true

require_relative "../../recorder"
require_relative "../../ext/test"
require_relative "ext"

Expand Down
1 change: 0 additions & 1 deletion lib/datadog/ci/contrib/minitest/hooks.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# frozen_string_literal: true

require_relative "../../recorder"
require_relative "../../ext/test"
require_relative "ext"

Expand Down
1 change: 0 additions & 1 deletion lib/datadog/ci/contrib/rspec/example.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# frozen_string_literal: true

require_relative "../../../ci"
require_relative "../../ext/test"
require_relative "ext"

Expand Down

0 comments on commit c16bc0d

Please sign in to comment.