0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04:00
denoland-deno/cli/tests
Bartek Iwańczuk 9d63772fe5
refactor: rewrite TS dependency analysis in Rust (#5029)
This commit completely overhauls how module analysis is 
performed in TS compiler by moving the logic to Rust.

In the current setup module analysis is performed using 
"ts.preProcessFile" API in a special TS compiler worker 
running on a separate thread.

"ts.preProcessFile" allowed us to build a lot of functionality
in CLI including X-TypeScript-Types header support 
and @deno-types directive support. Unfortunately at the 
same time complexity of the ops required to perform 
supporting tasks exploded and caused some hidden 
permission escapes.

This PR introduces "ModuleGraphLoader" which can parse
source and load recursively all dependent source files; as 
well as declaration files. All dependencies used in TS 
compiler and now fetched and collected upfront in Rust 
before spinning up TS compiler.

To achieve feature parity with existing APIs this commit 
includes a lot of changes:

* add "ModuleGraphLoader"
  - can fetch local and remote sources
  - parses source code using SWC and extracts imports, exports, file references, special 
     headers
  - this struct inherited all of the hidden complexity and cruft from TS version and requires 
     several follow up PRs
* rewrite cli/tsc.rs to perform module analysis upfront and send all required source code to 
  TS worker in one message
* remove op_resolve_modules and op_fetch_source_files from cli/ops/compiler.rs
* run TS worker on the same thread
2020-05-18 12:59:29 +02:00
..
034_onload Move deno_std to a more convenient location. (#3057) 2019-10-04 14:49:32 -04:00
053_import_compression Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
fetch Add support for multiple files in fetch command (#3845) 2020-01-31 16:07:37 -05:00
importmaps Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
subdir feat(workers): "crypto" global accessible in Worker scope (#5121) 2020-05-08 14:30:53 +02:00
tls feat: add --cert flag for http client (#3972) 2020-02-17 11:59:51 -05:00
type_definitions refactor: rewrite TS dependency analysis in Rust (#5029) 2020-05-18 12:59:29 +02:00
001_hello.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
001_hello.js.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
002_hello.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
002_hello.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
003_relative_import.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
003_relative_import.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
004_set_timeout.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
004_set_timeout.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
005_more_imports.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
005_more_imports.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
006_url_imports.ts Remove test.py, use cargo test as test frontend (#2967) 2019-09-19 14:48:05 -04:00
006_url_imports.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
012_async.ts Update to TypeScript 3.7 (#3275) 2019-11-13 13:42:34 -05:00
012_async.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
013_dynamic_import.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
013_dynamic_import.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
014_duplicate_import.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
014_duplicate_import.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
015_duplicate_parallel_import.js Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
015_duplicate_parallel_import.js.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
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 Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
017_import_redirect.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
017_import_redirect.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
018_async_catch.ts Add require-await lint rule (#4401) 2020-03-20 09:38:34 -04:00
018_async_catch.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
019_media_types.ts Remove test.py, use cargo test as test frontend (#2967) 2019-09-19 14:48:05 -04:00
019_media_types.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
020_json_modules.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
020_json_modules.ts.out refactor: rewrite TS dependency analysis in Rust (#5029) 2020-05-18 12:59:29 +02:00
021_mjs_modules.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
021_mjs_modules.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
022_info_flag_script.out refactor: rewrite HTTP cache for file fetcher (#4030) 2020-02-19 08:17:13 -05:00
023_no_ext_with_headers Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
023_no_ext_with_headers.headers.json Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
023_no_ext_with_headers.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
024_import_no_ext_with_headers.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
024_import_no_ext_with_headers.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
025_hrtime.ts Use web standard Permissions API (#3200) 2019-10-27 11:22:53 -04:00
025_hrtime.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
025_reload_js_type_error.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
025_reload_js_type_error.js.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
026_redirect_javascript.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
026_redirect_javascript.js.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
027_redirect_typescript.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
027_redirect_typescript.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
028_args.ts Update to TypeScript 3.7 (#3275) 2019-11-13 13:42:34 -05:00
028_args.ts.out feat: Deno.args now does not include script (#3628) 2020-01-09 11:37:01 -07:00
029_eval.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
030_eval_ts.out Support TypeScript eval through deno eval -T flag (#4141) 2020-02-28 09:17:56 -05:00
033_import_map.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
034_onload.out feat: window.onunload (#3023) 2019-10-02 11:32:51 -04:00
035_cached_only_flag.out feat: Add --no-remote, rename --no-fetch to --cached-only (#3417) 2019-12-03 17:48:53 -05:00
036_import_map_fetch.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
037_fetch_multiple.out refactor: rewrite TS dependency analysis in Rust (#5029) 2020-05-18 12:59:29 +02:00
038_checkjs.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
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 Fix issues with JavaScript importing JavaScript. (#4120) 2020-02-25 03:32:43 -05:00
041_dyn_import_eval.out console: Symbol.toStringTag and display Object symbol entries (#4388) 2020-03-16 09:05:39 -04:00
041_info_flag.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
042_dyn_import_evalcontext.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
042_dyn_import_evalcontext.ts.out console: Symbol.toStringTag and display Object symbol entries (#4388) 2020-03-16 09:05:39 -04:00
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 Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
045_proxy_test.ts BREAKING: Rename 'deno fetch' subcommand to 'deno cache' (#4656) 2020-04-07 11:24:47 -04:00
045_proxy_test.ts.out test: improve http_proxy test (#3185) 2019-10-22 09:52:41 -04:00
046_jsx_test.tsx Enable TS strict mode by default (#3899) 2020-02-19 15:36:18 -05:00
046_jsx_test.tsx.out feat: JSX Support (#3038) 2019-10-02 10:46:36 -04:00
047_jsx_test.jsx feat: JSX Support (#3038) 2019-10-02 10:46:36 -04:00
047_jsx_test.jsx.out feat: JSX Support (#3038) 2019-10-02 10:46:36 -04:00
048_media_types_jsx.ts Enable TS strict mode by default (#3899) 2020-02-19 15:36:18 -05:00
048_media_types_jsx.ts.out fix: remote jsx/tsx files were compiled as js/ts (#3125) 2019-10-16 13:35:04 -04:00
049_info_flag_script_jsx.out refactor: rewrite HTTP cache for file fetcher (#4030) 2020-02-19 08:17:13 -05:00
052_no_remote_flag.out feat: Add --no-remote, rename --no-fetch to --cached-only (#3417) 2019-12-03 17:48:53 -05:00
053_import_compression.out feat: support brotli compression for fetch API (#4082) 2020-02-23 09:37:43 -05:00
054_info_local_imports.out refactor: Modules and Loader trait (#3791) 2020-01-25 18:53:16 +01:00
056_make_temp_file_write_perm.out fix: Resolve makeTemp* paths from CWD (#4104) 2020-02-25 09:23:23 -05:00
056_make_temp_file_write_perm.ts fix: Resolve makeTemp* paths from CWD (#4104) 2020-02-25 09:23:23 -05:00
057_revoke_permissions.out chore: capture stderr in integration tests (#5549) 2020-05-17 17:42:39 +02:00
057_revoke_permissions.ts BREAKING: remove overload of Deno.test() (#4951) 2020-04-28 12:33:09 +02:00
058_tasks_microtasks_close.ts feat: window.close() (#4474) 2020-03-24 23:56:40 -04:00
058_tasks_microtasks_close.ts.out feat: window.close() (#4474) 2020-03-24 23:56:40 -04:00
async_error.ts Add require-await lint rule (#4401) 2020-03-20 09:38:34 -04:00
async_error.ts.out refactor(cli/fmt_errors): Improve source line formatting (#4832) 2020-04-20 15:39:02 -04:00
badly_formatted.js feat: dprint formatter (#3820) 2020-01-29 21:16:48 -05:00
badly_formatted_fixed.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
bundle.test.out feat: format deno bundle output (#5139) 2020-05-07 14:39:00 -04:00
bundle_im.json feat: add --importmap flag to deno bundle (#4651) 2020-04-07 12:32:09 +02:00
bundle_im.ts feat: add --importmap flag to deno bundle (#4651) 2020-04-07 12:32:09 +02:00
cafile_info.ts feat: add --cert flag for http client (#3972) 2020-02-17 11:59:51 -05:00
cafile_info.ts.out refactor: rewrite HTTP cache for file fetcher (#4030) 2020-02-19 08:17:13 -05:00
cafile_ts_fetch.ts Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
cafile_ts_fetch.ts.out feat: add --cert flag for http client (#3972) 2020-02-17 11:59:51 -05:00
cafile_url_imports.ts feat: add --cert flag for http client (#3972) 2020-02-17 11:59:51 -05:00
cafile_url_imports.ts.out feat: add --cert flag for http client (#3972) 2020-02-17 11:59:51 -05:00
cat.ts BREAKING CHANGE: change order of args in Deno.copy() (#4885) 2020-04-25 00:09:14 +02:00
circular1.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
circular1.js.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
circular2.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
compiler_api_test.ts BREAKING: remove overload of Deno.test() (#4951) 2020-04-28 12:33:09 +02:00
complex_permissions_test.ts Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
config.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
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 Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
deno_test.out chore: capture stderr in integration tests (#5549) 2020-05-17 17:42:39 +02:00
deno_test_fail_fast.out chore: capture stderr in integration tests (#5549) 2020-05-17 17:42:39 +02:00
echo.ts chore: remove std/installer, port installer tests to Rust (#3843) 2020-01-31 17:34:50 +01:00
echo_server.ts Use 0.0.0.0 for servers in benchmarks and tests (#3010) 2019-09-30 12:35:48 -04:00
error_001.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_001.ts.out refactor(cli/fmt_errors): Improve source line formatting (#4832) 2020-04-20 15:39:02 -04:00
error_002.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
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 Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
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 Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_004_missing_module.ts.out refactor: rewrite TS dependency analysis in Rust (#5029) 2020-05-18 12:59:29 +02:00
error_005_missing_dynamic_import.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_005_missing_dynamic_import.ts.out refactor: rewrite TS dependency analysis in Rust (#5029) 2020-05-18 12:59:29 +02:00
error_006_import_ext_failure.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_006_import_ext_failure.ts.out refactor: rewrite TS dependency analysis in Rust (#5029) 2020-05-18 12:59:29 +02:00
error_007_any.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_007_any.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_008_checkjs.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
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 Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
error_009_missing_js_module.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_009_missing_js_module.js.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_010_nonexistent_arg.disabled Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_010_nonexistent_arg.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_011_bad_module_specifier.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_011_bad_module_specifier.ts.out refactor: rewrite TS dependency analysis in Rust (#5029) 2020-05-18 12:59:29 +02:00
error_012_bad_dynamic_import_specifier.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_012_bad_dynamic_import_specifier.ts.out refactor: rewrite TS dependency analysis in Rust (#5029) 2020-05-18 12:59:29 +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 Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_014_catch_dynamic_import_error.js.out better error messages for 'relative import path not prefixed with / or ./ or ../' (#3405) 2019-11-26 09:14:04 -08:00
error_015_dynamic_import_permissions.js Remove //tests symlink (#3849) 2020-02-02 16:55:22 -05:00
error_015_dynamic_import_permissions.out Remove //tests symlink (#3849) 2020-02-02 16:55:22 -05:00
error_016_dynamic_import_permissions2.js Remove //tests symlink (#3849) 2020-02-02 16:55:22 -05:00
error_016_dynamic_import_permissions2.out dx: descriptive permission errors (#3808) 2020-01-27 21:13:17 -05:00
error_017_hide_long_source_ts.ts hide source line if error message longer than 150 chars (#4487) 2020-03-24 23:53:48 -04:00
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 hide source line if error message longer than 150 chars (#4487) 2020-03-24 23:53:48 -04:00
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 refactor(cli/fmt_errors): Format stack frames in prepareStackTrace() (#4706) 2020-04-11 02:08:11 -04:00
error_019_stack_function.ts.out refactor(cli/fmt_errors): Format stack frames in prepareStackTrace() (#4706) 2020-04-11 02:08:11 -04:00
error_020_stack_constructor.ts refactor(cli/fmt_errors): Format stack frames in prepareStackTrace() (#4706) 2020-04-11 02:08:11 -04:00
error_020_stack_constructor.ts.out refactor(cli/fmt_errors): Format stack frames in prepareStackTrace() (#4706) 2020-04-11 02:08:11 -04:00
error_021_stack_method.ts refactor(cli/fmt_errors): Format stack frames in prepareStackTrace() (#4706) 2020-04-11 02:08:11 -04:00
error_021_stack_method.ts.out refactor(cli/fmt_errors): Format stack frames in prepareStackTrace() (#4706) 2020-04-11 02:08:11 -04:00
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 refactor(cli/fmt_errors): Format stack frames in prepareStackTrace() (#4706) 2020-04-11 02:08:11 -04:00
error_023_stack_async.ts refactor(cli/fmt_errors): Format stack frames in prepareStackTrace() (#4706) 2020-04-11 02:08:11 -04:00
error_023_stack_async.ts.out refactor(cli/fmt_errors): Format stack frames in prepareStackTrace() (#4706) 2020-04-11 02:08:11 -04:00
error_024_stack_promise_all.ts refactor(core/js_error): Align JSStackFrame with CallSite (#4715) 2020-04-13 10:54:16 -04:00
error_024_stack_promise_all.ts.out refactor(core/js_error): Align JSStackFrame with CallSite (#4715) 2020-04-13 10:54:16 -04:00
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: rewrite TS dependency analysis in Rust (#5029) 2020-05-18 12:59:29 +02:00
error_syntax.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
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 errors: replace .lines with explicit .split newline (#4483) 2020-03-24 23:55:54 -04:00
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 Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_type_definitions.ts.out refactor: rewrite TS dependency analysis in Rust (#5029) 2020-05-18 12:59:29 +02:00
esm_imports_a.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
esm_imports_b.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
exec_path.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
exit_error42.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
exit_error42.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
fix_js_import_js.ts Fix issues with JavaScript importing JavaScript. (#4120) 2020-02-25 03:32:43 -05:00
fix_js_import_js.ts.out Fix issues with JavaScript importing JavaScript. (#4120) 2020-02-25 03:32:43 -05:00
fix_js_imports.ts fix: mis-detecting imports on JavaScript when there is no checkJs (#4040) 2020-02-19 22:58:05 -05:00
fix_js_imports.ts.out console: Symbol.toStringTag and display Object symbol entries (#4388) 2020-03-16 09:05:39 -04:00
fixture.json Upgrade node_modules, change tagline, clean up root directory (#3247) 2019-10-31 19:33:27 -07:00
hello.txt Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
https_import.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
https_import.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
if_main.ts BREAKING: remove window.location and self.location (#5034) 2020-05-01 20:15:28 +02:00
if_main.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
import_map_no_unstable.out chore: capture stderr in integration tests (#5549) 2020-05-17 17:42:39 +02:00
import_meta.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
import_meta.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
import_meta2.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
inspector1.js feat: Support Inspector / Chrome Devtools (#4484) 2020-03-27 16:09:51 -04:00
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 refactor: rewrite TS dependency analysis in Rust (#5029) 2020-05-18 12:59:29 +02:00
js_import_detect.ts Fix issue with detecting AMD like imports (#4009) 2020-02-16 11:11:44 +01:00
js_import_detect.ts.out Fix issue with detecting AMD like imports (#4009) 2020-02-16 11:11:44 +01:00
lib_ref.ts Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
lib_ref.ts.out refactor(ts): remove op_cache (#5071) 2020-05-05 18:23:15 +02:00
lib_runtime_api.ts Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
lib_runtime_api.ts.out refactor(ts): remove op_cache (#5071) 2020-05-05 18:23:15 +02:00
lock_check_err.json feat: lockfiles (#3231) 2019-11-03 10:39:27 -05:00
lock_check_err.out Use async-await at few places, fix spelling mistake (#3499) 2019-12-15 06:12:34 +08:00
lock_check_err2.json feat: lockfiles (#3231) 2019-11-03 10:39:27 -05:00
lock_check_err2.out Use async-await at few places, fix spelling mistake (#3499) 2019-12-15 06:12:34 +08:00
lock_check_ok.json fix: source maps in inspector (#5223) 2020-05-11 23:48:36 +02:00
lock_check_ok2.json feat: lockfiles (#3231) 2019-11-03 10:39:27 -05:00
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 lock: support lock-write for fetch command (#3787) 2020-01-26 13:43:59 -05:00
no_color.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
permission_test.ts BREAKING: Map-like interface for Deno.env (#4942) 2020-04-29 14:48:19 -04:00
proto_exploit.js Remove Object.prototype.__proto__ (#4341) 2020-03-15 11:34:22 +01:00
proto_exploit.js.out Remove Object.prototype.__proto__ (#4341) 2020-03-15 11:34:22 +01:00
raw_mode.ts BREAKING: Remove Deno.EOF, use null instead (#4953) 2020-04-28 12:40:43 -04:00
README.md Remove //tests symlink (#3849) 2020-02-02 16:55:22 -05:00
seed_random.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
seed_random.js.out console: iterable printing improvements (#4472) 2020-03-30 13:45:37 -04:00
symlink_to_subdir Upgrade node_modules, change tagline, clean up root directory (#3247) 2019-10-31 19:33:27 -07:00
test_runner_test.ts BREAKING: remove overload of Deno.test() (#4951) 2020-04-28 12:33:09 +02:00
text_decoder_perf.js Add TextDecoder benchmark (#3180) 2019-10-22 18:50:56 -04:00
text_encoder_perf.js Added textencoder benchmark (#3589) 2020-01-04 05:21:06 -05:00
top_level_await.js Upgrade V8 for top-level-await (#3015) 2019-09-24 18:37:04 -04:00
top_level_await.out Upgrade V8 for top-level-await (#3015) 2019-09-24 18:37:04 -04:00
top_level_await.ts Support top-level-await in TypeScript (#3024) 2019-09-30 12:38:23 -04:00
top_level_for_await.js Add require-await lint rule (#4401) 2020-03-20 09:38:34 -04:00
top_level_for_await.out feat: top-level-for-await (#3212) 2019-10-27 09:04:42 -04:00
top_level_for_await.ts Add require-await lint rule (#4401) 2020-03-20 09:38:34 -04:00
type_definitions.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
type_definitions.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
type_directives_01.ts Improve support of type definitions (#3755) 2020-01-26 13:59:41 -05:00
type_directives_01.ts.out Improve support of type definitions (#3755) 2020-01-26 13:59:41 -05:00
type_directives_02.ts Improve support of type definitions (#3755) 2020-01-26 13:59:41 -05:00
type_directives_02.ts.out Improve support of type definitions (#3755) 2020-01-26 13:59:41 -05:00
type_directives_js_main.js fix: fetch reference types for JS files (#4652) 2020-04-06 16:52:25 -04:00
type_directives_js_main.js.out fix: fetch reference types for JS files (#4652) 2020-04-06 16:52:25 -04:00
types.out Remove __domTypes namespace (#4698) 2020-04-10 14:24:42 -04:00
unbuffered_stderr.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
unbuffered_stderr.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
unbuffered_stdout.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
unbuffered_stdout.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
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 Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
v8_flags.js.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
v8_help.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
wasm.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
wasm.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
wasm_async.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
wasm_async.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
workers_round_robin_bench.ts refactor: split worker and worker host logic (#3722) 2020-01-21 09:49:47 +01:00
workers_startup_bench.ts refactor: split worker and worker host logic (#3722) 2020-01-21 09:49:47 +01:00
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.