1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 15:49:44 -05:00
denoland-deno/cli/tests/testdata/test
Bartek Iwańczuk b40086fd7d
refactor(core): include_js_files! 'dir' option doesn't change specifiers (#18019)
This commit changes "include_js_files!" macro from "deno_core"
in a way that "dir" option doesn't cause specifiers to be rewritten 
to include it.

Example:
```
include_js_files! {
  dir "js",
  "hello.js",
}
```

The above definition required embedders to use:
`import ... from "internal:<ext_name>/js/hello.js"`. 
But with this change, the "js" directory in which the files are stored
is an implementation detail, which for embedders results in: 
`import ... from "internal:<ext_name>/hello.js"`.

The directory the files are stored in, is an implementation detail and 
in some cases might result in a significant size difference for the 
snapshot. As an example, in "deno_node" extension, we store the 
source code in "polyfills" directory; which resulted in each specifier 
to look like "internal:deno_node/polyfills/<module_name>", but with 
this change it's "internal:deno_node/<module_name>". 

Given that "deno_node" has over 100 files, many of them having 
several import specifiers to the same extension, this change removes
10 characters from each import specifier.
2023-03-05 02:31:38 +00:00
..
collect feat(cli): support configuring the test tool in the config file (#15079) 2022-07-18 15:12:19 -04:00
doc_only fix(cli): retain path based test mode inference (#11878) 2021-09-01 18:31:56 +09:00
filter test(cli): add test for test filtering (#11672) 2021-08-13 11:33:18 +02:00
shuffle
steps refactor(core): include_js_files! 'dir' option doesn't change specifiers (#18019) 2023-03-05 02:31:38 +00:00
trace_ops_caught_error fix(test): handle scenario where --trace-ops would cause an unhandled promise rejection (#16970) 2022-12-06 15:58:18 -05:00
aggregate_error.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
aggregate_error.ts fix(runtime/testing): format aggregate errors (#12183) 2021-09-30 21:54:56 +02:00
allow_all.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
allow_all.ts fix: actually don't inherit runtime permissions (#14024) 2022-03-20 22:46:39 +01:00
allow_none.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
allow_none.ts
captured_output.ts fix(lint): revert no-deprecated-api for Deno.run (#17880) 2023-02-22 16:14:53 +00:00
captured_output.worker.js fix(test): actually capture stdout and stderr in workers (#14435) 2022-05-01 14:44:55 -04:00
check_local_by_default.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
check_local_by_default.ts feat: subcommands type-check only local files by default (#14623) 2022-05-17 23:53:42 +02:00
check_local_by_default2.out feat: subcommands type-check only local files by default (#14623) 2022-05-17 23:53:42 +02:00
check_local_by_default2.ts feat: subcommands type-check only local files by default (#14623) 2022-05-17 23:53:42 +02:00
clear_timeout.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
clear_timeout.ts
collect.out feat(cli): support configuring the test tool in the config file (#15079) 2022-07-18 15:12:19 -04:00
collect2.out feat(cli): support configuring the test tool in the config file (#15079) 2022-07-18 15:12:19 -04:00
collect_with_malformed_config.out feat(cli): support configuring the test tool in the config file (#15079) 2022-07-18 15:12:19 -04:00
deno_custom_jsx.json fix(cli): unset jsxFragmentFactory & jsxFactory options (#15264) 2022-07-21 14:44:18 +05:30
doc.out feat: upgrade to TypeScript 4.9.3 (#16973) 2022-12-07 12:59:59 -05:00
doc.ts
doc_only.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
exit_sanitizer.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
exit_sanitizer.ts
fail.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
fail.ts
fail_fast.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
fail_fast.ts
fail_fast_with_val.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
fail_fast_with_val.ts
file_protocol.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
file_protocol.ts fix(test/bench): accept file protocol module specifier CLI args (#14429) 2022-05-02 15:43:03 -04:00
filter.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
finally_timeout.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
finally_timeout.ts
hello_world.out fix(cli): unset jsxFragmentFactory & jsxFactory options (#15264) 2022-07-21 14:44:18 +05:30
hello_world.ts fix(cli): unset jsxFragmentFactory & jsxFactory options (#15264) 2022-07-21 14:44:18 +05:30
ignore.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
ignore.ts
ignore_permissions.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
ignore_permissions.ts
interval.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
interval.ts feat(cli): close test worker once all tests complete (#11727) 2021-09-04 20:19:26 +02:00
load_unload.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
load_unload.ts fix(test): dispatch load event before tests are run (#11708) 2021-08-15 13:54:44 +02:00
markdown.md fix(cli): explicitly scan for ignore attribute in inline tests (#11647) 2021-08-14 12:33:58 +02:00
markdown.out fix(cli): explicitly scan for ignore attribute in inline tests (#11647) 2021-08-14 12:33:58 +02:00
markdown_full_block_names.md fix(test): typecheck blocks annotated with long js/ts notations (#13785) 2022-03-08 02:10:40 +01:00
markdown_full_block_names.out fix(test): typecheck blocks annotated with long js/ts notations (#13785) 2022-03-08 02:10:40 +01:00
markdown_windows.md fix(test): support typechecking docs with CRLF line endings (#12748) 2021-11-15 09:58:04 -05:00
markdown_windows.out fix(test): support typechecking docs with CRLF line endings (#12748) 2021-11-15 09:58:04 -05:00
markdown_with_comment.md fix(test): skip typechecking for blocks inside HTML comments (#13889) 2022-03-11 02:14:32 +01:00
markdown_with_comment.out fix(test): skip typechecking for blocks inside HTML comments (#13889) 2022-03-11 02:14:32 +01:00
meta.out chore: fix flaky integration::test::meta (#15192) 2022-07-13 11:01:52 -04:00
meta.ts chore: fix flaky integration::test::meta (#15192) 2022-07-13 11:01:52 -04:00
no_check.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
no_check.ts
no_color.ts
no_prompt_by_default.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
no_prompt_by_default.ts test: update expected test output for 'deno test' (#13882) 2022-03-09 14:48:20 +01:00
no_prompt_with_denied_perms.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
no_prompt_with_denied_perms.ts test: update expected test output for 'deno test' (#13882) 2022-03-09 14:48:20 +01:00
no_run.out
no_run.ts
non_error_thrown.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
non_error_thrown.ts fix: Format non-error exceptions (#14604) 2022-06-06 20:26:57 +02:00
only.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
only.ts
ops_sanitizer_missing_details.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
ops_sanitizer_missing_details.ts chore: update std submodule and its imports (#17408) 2023-01-15 21:09:26 +01:00
ops_sanitizer_multiple_timeout_tests.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
ops_sanitizer_multiple_timeout_tests.ts feat(test): improved op sanitizer errors + traces (#13676) 2022-02-16 19:53:17 +01:00
ops_sanitizer_multiple_timeout_tests_no_trace.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
ops_sanitizer_nexttick.out chore: update deno_std submodule to 0.178.0 (#18003) 2023-03-03 19:11:10 +00:00
ops_sanitizer_nexttick.ts chore: update deno_std submodule to 0.178.0 (#18003) 2023-03-03 19:11:10 +00:00
ops_sanitizer_timeout_failure.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
ops_sanitizer_timeout_failure.ts fix(test): Improve reliability of deno test's op sanitizer with timers (#12934) 2021-11-30 01:27:30 +01:00
ops_sanitizer_unstable.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
ops_sanitizer_unstable.ts feat(test): improved op sanitizer errors + traces (#13676) 2022-02-16 19:53:17 +01:00
overloads.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
overloads.ts feat(test): Add more overloads for "Deno.test" (#12749) 2021-11-23 14:57:51 +01:00
parallel_output.out fix(test): output parallel test results independently (#15399) 2022-08-04 12:38:40 -04:00
parallel_output.ts fix(test): output parallel test results independently (#15399) 2022-08-04 12:38:40 -04:00
pass.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
pass.ts chore: fix flaky integration::test::pass test (#14571) 2022-05-11 18:05:54 -04:00
quiet.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
quiet.ts
recursive_permissions_pledge.js refactor: remove Deno.core (#16881) 2023-01-24 18:54:10 +01:00
resource_sanitizer.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
resource_sanitizer.ts refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
short-pass-jobs-flag-warning.out fix(test): output parallel test results independently (#15399) 2022-08-04 12:38:40 -04:00
short-pass.out fix(test): output parallel test results independently (#15399) 2022-08-04 12:38:40 -04:00
short-pass.ts feat(cli/test): add DENO_JOBS env variable for test subcommand (#14929) 2022-07-15 10:29:55 -04:00
shuffle.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
text.md
text.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
uncaught_errors.out fix(test): race condition for cancelled tests (#15233) 2022-08-02 10:55:11 -04:00
uncaught_errors_1.ts fix(test): race condition for cancelled tests (#15233) 2022-08-02 10:55:11 -04:00
uncaught_errors_2.ts feat(test): Represent uncaught errors (#14513) 2022-05-09 11:44:50 +02:00
uncaught_errors_3.ts feat(test): Represent uncaught errors (#14513) 2022-05-09 11:44:50 +02:00
unhandled_rejection.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
unhandled_rejection.ts
unresolved_promise.out feat(core): show unresolved promise origin (#16650) 2022-11-28 23:07:23 +01:00
unresolved_promise.ts feat(cli): close test worker once all tests complete (#11727) 2021-09-04 20:19:26 +02:00