diff options
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/049_info_flag_script_jsx.out | 2 | ||||
-rw-r--r-- | cli/tests/054_info_local_imports.out | 2 | ||||
-rw-r--r-- | cli/tests/055_info_file_json.out | 2 | ||||
-rw-r--r-- | cli/tests/import_file_with_colon.ts | 1 | ||||
-rw-r--r-- | cli/tests/import_file_with_colon.ts.out | 1 | ||||
-rw-r--r-- | cli/tests/integration_tests.rs | 6 |
6 files changed, 11 insertions, 3 deletions
diff --git a/cli/tests/049_info_flag_script_jsx.out b/cli/tests/049_info_flag_script_jsx.out index ff4f04f3a..fd5b511dc 100644 --- a/cli/tests/049_info_flag_script_jsx.out +++ b/cli/tests/049_info_flag_script_jsx.out @@ -1,7 +1,7 @@ [WILDCARD] local: [WILDCARD]http[WILDCARD]127.0.0.1_PORT4545[WILDCARD] type: TypeScript -compiled: [WILDCARD]048_media_types_jsx.ts.js +compiled: [WILDCARD].js deps: http://127.0.0.1:4545/cli/tests/048_media_types_jsx.ts ├── http://localhost:4545/cli/tests/subdir/mt_text_typescript_tsx.t1.tsx diff --git a/cli/tests/054_info_local_imports.out b/cli/tests/054_info_local_imports.out index 32cfd8525..fdf2f44a6 100644 --- a/cli/tests/054_info_local_imports.out +++ b/cli/tests/054_info_local_imports.out @@ -1,6 +1,6 @@ local: [WILDCARD]005_more_imports.ts type: TypeScript -compiled: [WILDCARD]005_more_imports.ts.js +compiled: [WILDCARD].js deps: file://[WILDCARD]/005_more_imports.ts └─┬ file://[WILDCARD]/subdir/mod1.ts diff --git a/cli/tests/055_info_file_json.out b/cli/tests/055_info_file_json.out index 20bf94f3f..08dc73790 100644 --- a/cli/tests/055_info_file_json.out +++ b/cli/tests/055_info_file_json.out @@ -1,7 +1,7 @@ { "local": "[WILDCARD]005_more_imports.ts", "fileType": "TypeScript", - "compiled": "[WILDCARD]005_more_imports.ts.js", + "compiled": "[WILDCARD].js", "map": null, "deps": [ "file://[WILDCARD]/005_more_imports.ts", diff --git a/cli/tests/import_file_with_colon.ts b/cli/tests/import_file_with_colon.ts new file mode 100644 index 000000000..5a2bbceb6 --- /dev/null +++ b/cli/tests/import_file_with_colon.ts @@ -0,0 +1 @@ +import "http://localhost:4545/cli/tests/subdir/file_with_:_in_name.ts"; diff --git a/cli/tests/import_file_with_colon.ts.out b/cli/tests/import_file_with_colon.ts.out new file mode 100644 index 000000000..f60bbf4b1 --- /dev/null +++ b/cli/tests/import_file_with_colon.ts.out @@ -0,0 +1 @@ +Hello from file_with_:_in_name.ts diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 89b5cc21e..687ab53dc 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -2220,6 +2220,12 @@ itest!(compiler_js_error { exit_code: 1, }); +itest!(import_file_with_colon { + args: "run --quiet --reload import_file_with_colon.ts", + output: "import_file_with_colon.ts.out", + http_server: true, +}); + #[test] fn cafile_env_fetch() { use url::Url; |