summaryrefslogtreecommitdiff
path: root/cli/ops
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2024-01-26 17:24:16 -0500
committerGitHub <noreply@github.com>2024-01-26 17:24:16 -0500
commit84fb2ad71b94ce773cefcbc868b160a73c52ab47 (patch)
tree481599e289ae6472a96ee88f533b946aae69711a /cli/ops
parent6109717c4a4d8139fdbf7165aac3bff2722e16d2 (diff)
refactor(cli): use new sanitizer for resources (#22125)
Step 1 of the Rustification of sanitizers, which unblocks the faster timers. This replaces the resource sanitizer with a Rust one, using the new APIs in deno_core.
Diffstat (limited to 'cli/ops')
-rw-r--r--cli/ops/testing.rs4
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,