deno test --trace-ops
provides no additional detail when sanitizers are disabled for some related steps
#19715
Labels
When running a test with an op/resource sanitization failure, a message is printed in the output:
However, when sanitizers are disabled for some, but not all related test steps, using the suggested CLI argument offers no additional detail. Depending on the test runner implementation, this might be reasonable, but it's not intuitive why it seems ineffective and appears to be a bug without more documentation/context.
Here's a minimal, reproducible example (contrived, but based on another test I was debugging that's far too verbose to include here — the mechanics are similar):
example.test.ts
:Terminal outputs:
Without
--trace-ops
:With
--trace-ops
:And here's a diff of those two outputs to make the comparison more obvious:
The text was updated successfully, but these errors were encountered: