if I have the following
test_that("test", {
  expect_no_error(function_that_throws_a_warning())
})
 
I get the following trace in the build pane on Windows. I am noting that the expect_no_error() traceback takes 11 lines, but it doesn't seem very interesting to know that expect_no_error calls all these functions? Lines 2 to 11 don't feel relevant to me.

Is there a solution for that?
Verify also if the trace from expect_warning(regexp = NA) is smaller?