Skip to content

Commit

Permalink
Revert "load matchers in other tests also"
Browse files Browse the repository at this point in the history
This reverts commit ea38934.
  • Loading branch information
p committed Nov 26, 2024
1 parent 0744c82 commit 06825d3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions spec/datadog/di/code_tracker_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,6 @@

context 'when a file is required' do
it 'requests to install pending line probes' do
# Matchers can be lazily loaded, force all code to be loaded here.
expect(4).to eq(4)

expect(Datadog::DI).to receive(:current_component).and_return(component)
expect(probe_manager).to receive(:install_pending_line_probes) do |path|
# Should be an absolute path
Expand All @@ -154,9 +151,6 @@

context 'when a file is loaded' do
it 'requests to install pending line probes' do
# Matchers can be lazily loaded, force all code to be loaded here.
expect(4).to eq(4)

expect(Datadog::DI).to receive(:current_component).and_return(component)
expect(probe_manager).to receive(:install_pending_line_probes) do |path|
# Should be an absolute path
Expand Down

0 comments on commit 06825d3

Please sign in to comment.