We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ConfigurationTest
1 parent 00392b6 commit acf4d60Copy full SHA for acf4d60
test/mcp/configuration_test.rb
@@ -12,8 +12,9 @@ class ConfigurationTest < ActiveSupport::TestCase
12
exception = StandardError.new("test error")
13
server_context = { test: "context" }
14
15
- # Should not raise any errors
16
- config.exception_reporter.call(exception, server_context)
+ assert_nothing_raised do
+ config.exception_reporter.call(exception, server_context)
17
+ end
18
end
19
20
test "allows setting a custom exception reporter" do
0 commit comments