0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-04 09:57:11 -05:00
deno/cli/tests
Bartek Iwańczuk c813990806
fix: compile TS dependencies of JS files (#6000)
This commit fixes regression that caused TS dependencies
not being compiled.

Check was added that ensures TS compiler is run if 
any of dependencies in module graph is TS/TSX/JSX.
2020-06-01 21:01:51 +02:00
..
034_onload
053_import_compression
fetch
importmaps
subdir
tls
type_definitions
unit fix(cli/web): Body.bodyUsed should use IsReadableStreamDisturbed 2020-06-01 14:37:46 +02:00
001_hello.js
001_hello.js.out
002_hello.ts
002_hello.ts.out
003_relative_import.ts
003_relative_import.ts.out
004_set_timeout.ts
004_set_timeout.ts.out
005_more_imports.ts
005_more_imports.ts.out
006_url_imports.ts
006_url_imports.ts.out
012_async.ts
012_async.ts.out
013_dynamic_import.ts
013_dynamic_import.ts.out
014_duplicate_import.ts
014_duplicate_import.ts.out
015_duplicate_parallel_import.js
015_duplicate_parallel_import.js.out
016_double_await.ts
016_double_await.ts.out
017_import_redirect.ts
017_import_redirect.ts.out
018_async_catch.ts
018_async_catch.ts.out
019_media_types.ts
019_media_types.ts.out
020_json_modules.ts
020_json_modules.ts.out
021_mjs_modules.ts
021_mjs_modules.ts.out
022_info_flag_script.out
023_no_ext_with_headers
023_no_ext_with_headers.headers.json
023_no_ext_with_headers.out
024_import_no_ext_with_headers.ts
024_import_no_ext_with_headers.ts.out
025_hrtime.ts
025_hrtime.ts.out
025_reload_js_type_error.js
025_reload_js_type_error.js.out
026_redirect_javascript.js
026_redirect_javascript.js.out
027_redirect_typescript.ts
027_redirect_typescript.ts.out
028_args.ts
028_args.ts.out
029_eval.out
030_eval_ts.out
033_import_map.out
034_onload.out
035_cached_only_flag.out
036_import_map_fetch.out
037_fetch_multiple.out
038_checkjs.js
038_checkjs.js.out
038_checkjs.tsconfig.json
041_dyn_import_eval.out
041_info_flag.out
042_dyn_import_evalcontext.ts
042_dyn_import_evalcontext.ts.out
044_bad_resource.ts
044_bad_resource.ts.out
045_proxy_client.ts
045_proxy_test.ts
045_proxy_test.ts.out
046_jsx_test.tsx
046_jsx_test.tsx.out
047_jsx_test.jsx
047_jsx_test.jsx.out
048_media_types_jsx.ts
048_media_types_jsx.ts.out
049_info_flag_script_jsx.out
052_no_remote_flag.out
053_import_compression.out
054_info_local_imports.out
056_make_temp_file_write_perm.out
056_make_temp_file_write_perm.ts
057_revoke_permissions.out
057_revoke_permissions.ts
058_tasks_microtasks_close.ts
058_tasks_microtasks_close.ts.out
059_fs_relative_path_perm.ts
059_fs_relative_path_perm.ts.out
async_error.ts
async_error.ts.out
badly_formatted.js
badly_formatted_fixed.js
bundle.test.out
bundle_im.json
bundle_im.ts
cafile_info.ts
cafile_info.ts.out
cafile_ts_fetch.ts
cafile_ts_fetch.ts.out
cafile_url_imports.ts
cafile_url_imports.ts.out
cat.ts
circular1.js
circular1.js.out
circular2.js
cjs_imports.ts
cjs_imports.ts.out
commonjs.cjs
compiler_api_test.ts
complex_permissions_test.ts
Component.tsx
config.ts
config.ts.out
config.tsconfig.json
deno_test.out
deno_test_fail_fast.out
disallow_http_from_https.js
disallow_http_from_https.ts
disallow_http_from_https_js.out
disallow_http_from_https_ts.out
echo.ts
echo_server.ts
error_001.ts
error_001.ts.out
error_002.ts
error_002.ts.out
error_003_typescript.ts
error_003_typescript.ts.out
error_004_missing_module.ts
error_004_missing_module.ts.out
error_005_missing_dynamic_import.ts
error_005_missing_dynamic_import.ts.out
error_006_import_ext_failure.ts
error_006_import_ext_failure.ts.out
error_007_any.ts
error_007_any.ts.out
error_008_checkjs.js
error_008_checkjs.js.out
error_009_missing_js_module.disabled
error_009_missing_js_module.js
error_009_missing_js_module.js.out
error_010_nonexistent_arg.disabled
error_010_nonexistent_arg.out
error_011_bad_module_specifier.ts
error_011_bad_module_specifier.ts.out
error_012_bad_dynamic_import_specifier.ts
error_012_bad_dynamic_import_specifier.ts.out
error_013_missing_script.out
error_014_catch_dynamic_import_error.js
error_014_catch_dynamic_import_error.js.out
error_015_dynamic_import_permissions.js
error_015_dynamic_import_permissions.out
error_016_dynamic_import_permissions2.js
error_016_dynamic_import_permissions2.out
error_017_hide_long_source_ts.ts
error_017_hide_long_source_ts.ts.out
error_018_hide_long_source_js.js
error_018_hide_long_source_js.js.out
error_019_stack_function.ts
error_019_stack_function.ts.out
error_020_stack_constructor.ts
error_020_stack_constructor.ts.out
error_021_stack_method.ts
error_021_stack_method.ts.out
error_022_stack_custom_error.ts
error_022_stack_custom_error.ts.out
error_023_stack_async.ts
error_023_stack_async.ts.out
error_024_stack_promise_all.ts
error_024_stack_promise_all.ts.out
error_025_tab_indent
error_025_tab_indent.out
error_local_static_import_from_remote.js
error_local_static_import_from_remote.js.out
error_local_static_import_from_remote.ts
error_local_static_import_from_remote.ts.out
error_syntax.js
error_syntax.js.out
error_syntax_empty_trailing_line.mjs
error_syntax_empty_trailing_line.mjs.out
error_type_definitions.ts
error_type_definitions.ts.out
es_private_fields.js
es_private_fields.js.out
esm_imports_a.js
esm_imports_b.js
exec_path.ts
exit_error42.ts
exit_error42.ts.out
file_exists.ts
fix_js_import_js.ts
fix_js_import_js.ts.out
fix_js_imports.ts
fix_js_imports.ts.out
fixture.json
hello.txt
https_import.ts
https_import.ts.out
if_main.ts
if_main.ts.out
import_map_no_unstable.out
import_meta.ts
import_meta.ts.out
import_meta2.ts
inspector1.js
inspector2.js
inspector3.js
inspector4.js
integration_tests.rs fix: compile TS dependencies of JS files (#6000) 2020-06-01 21:01:51 +02:00
js_import_detect.ts
js_import_detect.ts.out
lib_ref.ts
lib_ref.ts.out
lib_runtime_api.ts
lib_runtime_api.ts.out
lock_check_err.json
lock_check_err.out
lock_check_err2.json
lock_check_err2.out
lock_check_ok.json
lock_check_ok2.json
lock_write_fetch.ts
lock_write_fetch.ts.out
no_color.js
permission_test.ts
proto_exploit.js
proto_exploit.js.out
raw_mode.ts
README.md
seed_random.js
seed_random.js.out
swc_syntax_error.ts
swc_syntax_error.ts.out
symlink_to_subdir
test_runner_test.ts
text_decoder_perf.js
text_encoder_perf.js
top_level_await.js
top_level_await.out
top_level_await.ts
top_level_for_await.js
top_level_for_await.out
top_level_for_await.ts
ts_decorators.ts
ts_decorators.ts.out
ts_import_from_js.js fix: compile TS dependencies of JS files (#6000) 2020-06-01 21:01:51 +02:00
ts_import_from_js.js.out fix: compile TS dependencies of JS files (#6000) 2020-06-01 21:01:51 +02:00
ts_type_imports.ts
ts_type_imports.ts.out
ts_type_imports_foo.ts
ts_with_generic.ts
tsconfig.decorators.json
tsx_imports.ts
tsx_imports.ts.out
type_definitions.ts
type_definitions.ts.out
type_directives_01.ts
type_directives_01.ts.out
type_directives_02.ts
type_directives_02.ts.out
type_directives_js_main.js
type_directives_js_main.js.out
type_directives_redirect.ts
type_directives_redirect.ts.out
types.out
unbuffered_stderr.ts
unbuffered_stderr.ts.out
unbuffered_stdout.ts
unbuffered_stdout.ts.out
unstable.js
unstable.ts
unstable_disabled.out
unstable_disabled_js.out
unstable_enabled.out
unstable_enabled_js.out
unsupported_dynamic_import_scheme.out
v8_flags.js
v8_flags.js.out
v8_help.out
wasm.ts
wasm.ts.out
wasm_async.js
wasm_async.out
workers_round_robin_bench.ts
workers_startup_bench.ts
workers_test.ts
x_deno_warning.js
x_deno_warning.js.header

Integration Tests

This path contains integration tests. See integration_tests.rs for the index.