diff options
author | Matt Mastracci <matthew@mastracci.com> | 2024-02-05 12:21:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-05 12:21:29 -0700 |
commit | 0a3d329dd82456cd894bda257e01cd50a62d6833 (patch) | |
tree | ba74f8b4b4681f55e87f9e2d22ea5c96443680ff /cli/ops | |
parent | aecad7f3531c76306274d86afb458fcbc08edca2 (diff) |
Reland refactor(cli): use new sanitizer for resources (#22226)
Originally in #22125
Reverted in #22153 because of #22148
Fixed in deno_core https://github.com/denoland/deno_core/pull/538
Test plan:
1. Check out: https://github.com/poolifier/poolifier-deno.git
2. `PATH=.../deno/target/release/:$PATH deno task test`
3. `ok | 13 passed (188 steps) | 0 failed (18s)`
Diffstat (limited to 'cli/ops')
-rw-r--r-- | cli/ops/testing.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/ops/testing.rs b/cli/ops/testing.rs index 28c4145ea..4a2f48181 100644 --- a/cli/ops/testing.rs +++ b/cli/ops/testing.rs @@ -123,6 +123,8 @@ fn op_register_test( #[string] name: String, ignore: bool, only: bool, + sanitize_ops: bool, + sanitize_resources: bool, #[string] file_name: String, #[smi] line_number: u32, #[smi] column_number: u32, @@ -141,6 +143,8 @@ fn op_register_test( name, ignore, only, + sanitize_ops, + sanitize_resources, origin: origin.clone(), location: TestLocation { file_name, |