deno/cli/tests
Bartek Iwańczuk d062ffc1ba
fix: source maps in inspector (#5223)
This commit fixes problems with source maps in Chrome Devtools
by substituting source map URL generated by TS compiler with
actual file URL pointing to DENO_DIR.

Dummy value of "source_map_url" has been removed from
"ScriptOrigin".

Also fixes lock file which used compiled source code to generate
lock hash; it now uses source code of the file that is
being compiled.
2020-05-11 23:48:36 +02:00
..
034_onload
053_import_compression
fetch
importmaps
subdir feat(workers): "crypto" global accessible in Worker scope (#5121) 2020-05-08 14:30:53 +02:00
tls
type_definitions
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 refactor(cli/js/ops/fs): Improve readdir() and FileInfo interfaces (#4763) 2020-04-16 01:40:30 -04:00
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 refactor: merge TS compiler into single file (#5091) 2020-05-06 00:19:18 +02:00
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 refactor(cli): unify display of errors from Rust and JS (#5183) 2020-05-09 21:09:46 +02:00
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 BREAKING CHANGE: remove Deno.OpenMode (#4884) 2020-04-25 00:45:55 +02:00
044_bad_resource.ts.out refactor(cli/fmt_errors): Improve source line formatting (#4832) 2020-04-20 15:39:02 -04:00
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 BREAKING: remove overload of Deno.test() (#4951) 2020-04-28 12:33:09 +02:00
058_tasks_microtasks_close.ts
058_tasks_microtasks_close.ts.out
async_error.ts
async_error.ts.out refactor(cli/fmt_errors): Improve source line formatting (#4832) 2020-04-20 15:39:02 -04:00
badly_formatted.js
badly_formatted_fixed.js
bundle.test.out feat: format deno bundle output (#5139) 2020-05-07 14:39:00 -04:00
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 BREAKING CHANGE: change order of args in Deno.copy() (#4885) 2020-04-25 00:09:14 +02:00
circular1.js
circular1.js.out
circular2.js
compiler_api_test.ts BREAKING: remove overload of Deno.test() (#4951) 2020-04-28 12:33:09 +02:00
complex_permissions_test.ts
config.ts
config.ts.out refactor(cli): unify display of errors from Rust and JS (#5183) 2020-05-09 21:09:46 +02:00
config.tsconfig.json
deno_test.out
deno_test_fail_fast.out
echo.ts
echo_server.ts
error_001.ts
error_001.ts.out refactor(cli/fmt_errors): Improve source line formatting (#4832) 2020-04-20 15:39:02 -04:00
error_002.ts
error_002.ts.out refactor(cli/fmt_errors): Improve source line formatting (#4832) 2020-04-20 15:39:02 -04:00
error_003_typescript.ts
error_003_typescript.ts.out refactor(cli): unify display of errors from Rust and JS (#5183) 2020-05-09 21:09:46 +02:00
error_004_missing_module.ts
error_004_missing_module.ts.out refactor: merge TS compiler into single file (#5091) 2020-05-06 00:19:18 +02:00
error_005_missing_dynamic_import.ts
error_005_missing_dynamic_import.ts.out refactor: merge TS compiler into single file (#5091) 2020-05-06 00:19:18 +02:00
error_006_import_ext_failure.ts
error_006_import_ext_failure.ts.out refactor: merge TS compiler into single file (#5091) 2020-05-06 00:19:18 +02:00
error_007_any.ts
error_007_any.ts.out
error_008_checkjs.js
error_008_checkjs.js.out refactor(cli/fmt_errors): Improve source line formatting (#4832) 2020-04-20 15:39:02 -04:00
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 refactor: merge TS compiler into single file (#5091) 2020-05-06 00:19:18 +02:00
error_012_bad_dynamic_import_specifier.ts
error_012_bad_dynamic_import_specifier.ts.out refactor: merge TS compiler into single file (#5091) 2020-05-06 00:19:18 +02:00
error_013_missing_script.out refactor(cli): unify display of errors from Rust and JS (#5183) 2020-05-09 21:09:46 +02:00
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 refactor(cli): unify display of errors from Rust and JS (#5183) 2020-05-09 21:09:46 +02:00
error_018_hide_long_source_js.js
error_018_hide_long_source_js.js.out refactor(cli/fmt_errors): Improve source line formatting (#4832) 2020-04-20 15:39:02 -04:00
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 fix(core/js_errors): Get error's name and message from JS fields (#4808) 2020-04-19 15:17:22 +02:00
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 fix misaligned error reporting on tab char (#5032) 2020-05-01 13:03:54 -04:00
error_025_tab_indent.out fix misaligned error reporting on tab char (#5032) 2020-05-01 13:03:54 -04:00
error_local_static_import_from_remote.js BREAKING: disallow static import of local modules from remote modules (#5050) 2020-05-02 15:51:08 +02:00
error_local_static_import_from_remote.js.out refactor(cli): unify display of errors from Rust and JS (#5183) 2020-05-09 21:09:46 +02:00
error_local_static_import_from_remote.ts BREAKING: disallow static import of local modules from remote modules (#5050) 2020-05-02 15:51:08 +02:00
error_local_static_import_from_remote.ts.out refactor: merge TS compiler into single file (#5091) 2020-05-06 00:19:18 +02:00
error_syntax.js
error_syntax.js.out refactor(cli/fmt_errors): Improve source line formatting (#4832) 2020-04-20 15:39:02 -04:00
error_syntax_empty_trailing_line.mjs
error_syntax_empty_trailing_line.mjs.out refactor(cli/fmt_errors): Improve source line formatting (#4832) 2020-04-20 15:39:02 -04:00
error_type_definitions.ts
error_type_definitions.ts.out refactor: merge TS compiler into single file (#5091) 2020-05-06 00:19:18 +02:00
esm_imports_a.js
esm_imports_b.js
exec_path.ts
exit_error42.ts
exit_error42.ts.out
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 BREAKING: remove window.location and self.location (#5034) 2020-05-01 20:15:28 +02:00
if_main.ts.out
import_map_no_unstable.out Make import maps unstable (#4934) 2020-04-28 01:12:38 +02:00
import_meta.ts
import_meta.ts.out
import_meta2.ts
inspector1.js
inspector2.js Clean up 'inspector_break_on_first_line' test and fix its flakiness (#5098) 2020-05-06 04:32:14 +02:00
inspector3.js Fix inspector hanging when task budget is exceeded (#5083) 2020-05-05 16:12:45 +02:00
integration_tests.rs BREAKING: There is no public Rust API for the CLI (#5226) 2020-05-11 17:33:36 -04:00
js_import_detect.ts
js_import_detect.ts.out
lib_ref.ts
lib_ref.ts.out refactor(ts): remove op_cache (#5071) 2020-05-05 18:23:15 +02:00
lib_runtime_api.ts
lib_runtime_api.ts.out refactor(ts): remove op_cache (#5071) 2020-05-05 18:23:15 +02:00
lock_check_err.json
lock_check_err.out
lock_check_err2.json
lock_check_err2.out
lock_check_ok.json fix: source maps in inspector (#5223) 2020-05-11 23:48:36 +02:00
lock_check_ok2.json
lock_write_fetch.ts BREAKING: remove CLI 'deno script.ts' hack (#5026) 2020-05-04 13:03:30 +02:00
lock_write_fetch.ts.out
no_color.js
permission_test.ts BREAKING: Map-like interface for Deno.env (#4942) 2020-04-29 14:48:19 -04:00
proto_exploit.js
proto_exploit.js.out
raw_mode.ts BREAKING: Remove Deno.EOF, use null instead (#4953) 2020-04-28 12:40:43 -04:00
README.md
seed_random.js
seed_random.js.out
symlink_to_subdir
test_runner_test.ts BREAKING: remove overload of Deno.test() (#4951) 2020-04-28 12:33:09 +02:00
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
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
types.out
unbuffered_stderr.ts
unbuffered_stderr.ts.out
unbuffered_stdout.ts
unbuffered_stdout.ts.out
unstable.js Unstable methods should not appear in runtime or d.ts (#4957) 2020-04-30 11:23:40 -04:00
unstable.ts Unstable methods should not appear in runtime or d.ts (#4957) 2020-04-30 11:23:40 -04:00
unstable_disabled.out refactor(cli): unify display of errors from Rust and JS (#5183) 2020-05-09 21:09:46 +02:00
unstable_disabled_js.out Unstable methods should not appear in runtime or d.ts (#4957) 2020-04-30 11:23:40 -04:00
unstable_enabled.out Unstable methods should not appear in runtime or d.ts (#4957) 2020-04-30 11:23:40 -04:00
unstable_enabled_js.out Unstable methods should not appear in runtime or d.ts (#4957) 2020-04-30 11:23:40 -04:00
unsupported_dynamic_import_scheme.out fix(imports): fix panic on unsupported scheme (#5131) 2020-05-07 15:57:10 +02:00
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 feat(workers): "crypto" global accessible in Worker scope (#5121) 2020-05-08 14:30:53 +02:00
x_deno_warning.js Add support for X-Deno-Warning header (#5161) 2020-05-09 12:43:24 -04:00
x_deno_warning.js.header Add support for X-Deno-Warning header (#5161) 2020-05-09 12:43:24 -04:00

Integration Tests

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