diff options
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/README.md | 4 | ||||
-rw-r--r-- | cli/tests/error_003_typescript.ts.out | 2 | ||||
-rw-r--r-- | cli/tests/error_015_dynamic_import_permissions.js | 2 | ||||
-rw-r--r-- | cli/tests/error_015_dynamic_import_permissions.out | 2 | ||||
-rw-r--r-- | cli/tests/error_016_dynamic_import_permissions2.js | 2 | ||||
-rw-r--r-- | cli/tests/integration_tests.rs | 2 |
6 files changed, 5 insertions, 9 deletions
diff --git a/cli/tests/README.md b/cli/tests/README.md index fe9071926..831d2750f 100644 --- a/cli/tests/README.md +++ b/cli/tests/README.md @@ -1,7 +1,3 @@ # Integration Tests This path contains integration tests. See integration_tests.rs for the index. - -TODO(ry) Currently //tests is a symlink to //cli/tests, to simplify transition. -In the future the symlink should be removed when all the many references have -been updated to the new path. diff --git a/cli/tests/error_003_typescript.ts.out b/cli/tests/error_003_typescript.ts.out index ee93bc877..b5854c20f 100644 --- a/cli/tests/error_003_typescript.ts.out +++ b/cli/tests/error_003_typescript.ts.out @@ -2,7 +2,7 @@ The types of 'a.b.c().d' are incompatible between these types. Type 'number' is not assignable to type 'string'. -[WILDCARD]/tests/error_003_typescript.ts:20:1 +[WILDCARD]/cli/tests/error_003_typescript.ts:20:1 20 x = y; ^ diff --git a/cli/tests/error_015_dynamic_import_permissions.js b/cli/tests/error_015_dynamic_import_permissions.js index 3460ca787..197339c5e 100644 --- a/cli/tests/error_015_dynamic_import_permissions.js +++ b/cli/tests/error_015_dynamic_import_permissions.js @@ -1,3 +1,3 @@ (async () => { - await import("http://localhost:4545/tests/subdir/mod4.js"); + await import("http://localhost:4545/cli/tests/subdir/mod4.js"); })(); diff --git a/cli/tests/error_015_dynamic_import_permissions.out b/cli/tests/error_015_dynamic_import_permissions.out index dcc913e2b..7078ac61c 100644 --- a/cli/tests/error_015_dynamic_import_permissions.out +++ b/cli/tests/error_015_dynamic_import_permissions.out @@ -1 +1 @@ -error: Uncaught TypeError: network access to "http://localhost:4545/tests/subdir/mod4.js", run again with the --allow-net flag +error: Uncaught TypeError: network access to "http://localhost:4545/cli/tests/subdir/mod4.js", run again with the --allow-net flag diff --git a/cli/tests/error_016_dynamic_import_permissions2.js b/cli/tests/error_016_dynamic_import_permissions2.js index 71c70815c..34e1a43d2 100644 --- a/cli/tests/error_016_dynamic_import_permissions2.js +++ b/cli/tests/error_016_dynamic_import_permissions2.js @@ -1,5 +1,5 @@ // If this is executed with --allow-net but not --allow-read the following // import should cause a permission denied error. (async () => { - await import("http://localhost:4545/tests/subdir/evil_remote_import.js"); + await import("http://localhost:4545/cli/tests/subdir/evil_remote_import.js"); })(); diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index b7dfc4e35..d4cd57e09 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -131,7 +131,7 @@ fn installer_test_remote_module_run() { DenoFlags::default(), Some(temp_dir.path().to_string_lossy().to_string()), "echo_test", - "http://localhost:4545/tests/echo.ts", + "http://localhost:4545/cli/tests/echo.ts", vec!["hello".to_string()], ) .expect("Failed to install"); |