docs: resource/op sanitizers off by default in deno test (2.8)#3072
Open
lunadogbot wants to merge 1 commit intodenoland:mainfrom
Open
docs: resource/op sanitizers off by default in deno test (2.8)#3072lunadogbot wants to merge 1 commit intodenoland:mainfrom
deno test (2.8)#3072lunadogbot wants to merge 1 commit intodenoland:mainfrom
Conversation
Updates the Testing guide for the default change in Deno 2.8: the resource and async-op sanitizers are now off by default. Adds an info admonition near the Sanitizers heading and a new "Enabling sanitizers globally" subsection documenting the per-test, module-level (\`Deno.test.sanitizer()\`), CLI-flag, env-var, and \`deno.json\` opt-ins, with their precedence order. The exit sanitizer is unchanged. Refs denoland/deno#33250
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the default change in Deno 2.8 (denoland/deno#33250):
sanitizeOpsandsanitizeResourcesare nowfalseby default.runtime/fundamentals/testing.md.Deno.test.sanitizer()→ CLI flags → env vars →deno.json) with their precedence order.Test plan
deno task serve— Sanitizers section renders, anchors resolve.Deno.test.sanitizer()rename), refresh accordingly.