From 2b279ad630651e973d5a31586f58809f005bc925 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Tue, 20 Feb 2024 00:34:24 +1100 Subject: chore: move `test_util` to `tests/util/server` (#22444) As discussed with @mmastrac. --------- Signed-off-by: Asher Gomez Co-authored-by: Matt Mastracci --- cli/tsc/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cli') diff --git a/cli/tsc/mod.rs b/cli/tsc/mod.rs index f3f974690..56755b518 100644 --- a/cli/tsc/mod.rs +++ b/cli/tsc/mod.rs @@ -1001,8 +1001,8 @@ mod tests { // be used again after the snapshot is taken. We should figure out a mechanism // to allow removing some of the ops before taking a snapshot. #[ignore] - #[test] - fn test_compiler_snapshot() { + #[tokio::test] + async fn test_compiler_snapshot() { let mut js_runtime = JsRuntime::new(RuntimeOptions { startup_snapshot: Some(compiler_snapshot()), ..Default::default() @@ -1027,8 +1027,8 @@ mod tests { assert_eq!(actual, "11905938177474799758"); } - #[test] - fn test_hash_url() { + #[tokio::test] + async fn test_hash_url() { let specifier = deno_core::resolve_url( "data:application/javascript,console.log(\"Hello%20Deno\");", ) -- cgit v1.2.3