summaryrefslogtreecommitdiff
path: root/cli/tsc
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-02-20 00:34:24 +1100
committerGitHub <noreply@github.com>2024-02-19 06:34:24 -0700
commit2b279ad630651e973d5a31586f58809f005bc925 (patch)
tree3e3cbeb4126643c75381dd5422e8603a7488bb8a /cli/tsc
parenteb542bc185c6c4ce1847417a2dfdf04862cd86db (diff)
chore: move `test_util` to `tests/util/server` (#22444)
As discussed with @mmastrac. --------- Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com> Co-authored-by: Matt Mastracci <matthew@mastracci.com>
Diffstat (limited to 'cli/tsc')
-rw-r--r--cli/tsc/mod.rs8
1 files changed, 4 insertions, 4 deletions
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\");",
)