mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-05 00:02:38 -04:00
load httpx sentry patch for tests
This commit is contained in:
parent
8632da0a22
commit
1bebb179ce
@ -136,9 +136,10 @@ class SentryTest < Minitest::Test
|
||||
config.logger = mock_logger
|
||||
config.dsn = DUMMY_DSN
|
||||
config.transport.transport_class = Sentry::DummyTransport
|
||||
config.breadcrumbs_logger = [:http_logger]
|
||||
# so the events will be sent synchronously for testing
|
||||
config.background_worker_threads = 0
|
||||
config.breadcrumbs_logger = [:http_logger]
|
||||
config.enabled_patches << :httpx
|
||||
# so the events will be sent synchronously for testing
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user