diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-06-18 17:54:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-18 11:54:55 -0400 |
commit | 90c5dcfe79cd010b429e775a3ebcb3c5d78fa6ff (patch) | |
tree | 461a23f50869c7cbe9bf621c60d11bd3eaaa8800 /cli/module_graph.rs | |
parent | a2969ecd27645bafc7195baa7cfecbebfd8d2bf4 (diff) |
chore(test): move testing utilities to test_util crate (#6360)
Diffstat (limited to 'cli/module_graph.rs')
-rw-r--r-- | cli/module_graph.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cli/module_graph.rs b/cli/module_graph.rs index 54c53c623..9cded48a0 100644 --- a/cli/module_graph.rs +++ b/cli/module_graph.rs @@ -564,7 +564,7 @@ mod tests { #[ignore] #[tokio::test] async fn source_graph_fetch() { - let http_server_guard = crate::test_util::http_server(); + let http_server_guard = test_util::http_server(); let module_specifier = ModuleSpecifier::resolve_url_or_path( "http://localhost:4545/cli/tests/019_media_types.ts", @@ -657,7 +657,7 @@ mod tests { #[tokio::test] async fn source_graph_type_references() { - let http_server_guard = crate::test_util::http_server(); + let http_server_guard = test_util::http_server(); let module_specifier = ModuleSpecifier::resolve_url_or_path( "http://localhost:4545/cli/tests/type_definitions.ts", @@ -715,7 +715,7 @@ mod tests { #[tokio::test] async fn source_graph_type_references2() { - let http_server_guard = crate::test_util::http_server(); + let http_server_guard = test_util::http_server(); let module_specifier = ModuleSpecifier::resolve_url_or_path( "http://localhost:4545/cli/tests/type_directives_02.ts", @@ -764,7 +764,7 @@ mod tests { #[tokio::test] async fn source_graph_type_references3() { - let http_server_guard = crate::test_util::http_server(); + let http_server_guard = test_util::http_server(); let module_specifier = ModuleSpecifier::resolve_url_or_path( "http://localhost:4545/cli/tests/type_directives_01.ts", @@ -807,7 +807,7 @@ mod tests { #[tokio::test] async fn source_graph_different_langs() { - let http_server_guard = crate::test_util::http_server(); + let http_server_guard = test_util::http_server(); // ModuleGraphLoader was mistakenly parsing this file as TSX // https://github.com/denoland/deno/issues/5867 |