1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-20 14:24:48 -05:00
denoland-deno/tests/specs/test
Yusuke Tanaka 15fae19748
fix(cli): preserve comments in doc tests (#26828)
This commit makes comments in code snippets in JSDoc or markdown
preserved when they are executed as tests. In particular, this is needed
to get TypeScript special comments such as `@ts-ignore` or
`@ts-expect-error` to work correctly.

Fixes #26728
2024-11-13 21:04:32 -08:00
..
aggregate_error chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
allow_all chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
allow_none chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
before_unload_prevent_default chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
captured_output chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
check_local_by_default feat: add --allow-import flag (#25469) 2024-09-26 01:50:54 +00:00
check_local_by_default2 feat: add --allow-import flag (#25469) 2024-09-26 01:50:54 +00:00
clean_flag chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
clear_timeout chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
collect chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
default_ts feat: default to TS for file extension and support ext flag in more scenarios (#25472) 2024-09-18 21:15:13 +02:00
doc feat(cli): evaluate code snippets in JSDoc and markdown (#25220) 2024-09-17 21:35:48 -07:00
doc_duplicate_identifier feat(cli): evaluate code snippets in JSDoc and markdown (#25220) 2024-09-17 21:35:48 -07:00
doc_failure feat(cli): evaluate code snippets in JSDoc and markdown (#25220) 2024-09-17 21:35:48 -07:00
doc_only feat(cli): evaluate code snippets in JSDoc and markdown (#25220) 2024-09-17 21:35:48 -07:00
doc_permission_respected feat(cli): evaluate code snippets in JSDoc and markdown (#25220) 2024-09-17 21:35:48 -07:00
doc_success test: make specs::test::doc_success less flaky (#25765) 2024-09-20 13:14:02 +00:00
doc_ts_declare_global feat(cli): evaluate code snippets in JSDoc and markdown (#25220) 2024-09-17 21:35:48 -07:00
doc_ts_expect_error fix(cli): preserve comments in doc tests (#26828) 2024-11-13 21:04:32 -08:00
doc_ts_namespace_decl feat(cli): evaluate code snippets in JSDoc and markdown (#25220) 2024-09-17 21:35:48 -07:00
document fix: add hint for missing document global in terminal error (#26218) 2024-10-15 21:51:39 +00:00
exit_code refactor(cli/js): align error messages (#25406) 2024-09-04 09:19:55 +02:00
exit_code2 refactor(cli/js): align error messages (#25406) 2024-09-04 09:19:55 +02:00
exit_code3 refactor(cli/js): align error messages (#25406) 2024-09-04 09:19:55 +02:00
exit_sanitizer chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
fail chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
fail_fast chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
fail_with_contain_unicode_filename chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
file_protocol chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
filter chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
finally_timeout chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
hide_empty_suites chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
hide_stacktraces feat(cli/tools): add a subcommand --hide-stacktraces for test (#24095) 2024-08-20 01:27:36 +00:00
ignore chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
ignore_persmissions chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
include_relative_pattern_dot_slash chore: migrate bench, publish, and more itests to spec tests (#23584) 2024-04-29 10:08:27 -04:00
interval chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
junit chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
junit_multiple_test_files chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
junit_nested chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
load_unload chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
markdown feat(cli): evaluate code snippets in JSDoc and markdown (#25220) 2024-09-17 21:35:48 -07:00
markdown_full_block_names feat(cli): evaluate code snippets in JSDoc and markdown (#25220) 2024-09-17 21:35:48 -07:00
markdown_ignore_html_comment feat(cli): evaluate code snippets in JSDoc and markdown (#25220) 2024-09-17 21:35:48 -07:00
markdown_ts_expect_error fix(cli): preserve comments in doc tests (#26828) 2024-11-13 21:04:32 -08:00
markdown_windows feat(cli): evaluate code snippets in JSDoc and markdown (#25220) 2024-09-17 21:35:48 -07:00
meta chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
no_check chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
no_color chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
no_files BREAKING: remove --allow-none flag (#25337) 2024-09-02 22:06:27 +00:00
no_prompt_by_default chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
no_prompt_with_denied_perms chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
no_run chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
non_error_thrown chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
only chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
ops_sanitizer_closed_inside_started_before chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
ops_sanitizer_multiple_timeout_tests chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
ops_sanitizer_multiple_timeout_tests_no_trace chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
ops_sanitizer_nexttick chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
ops_sanitizer_tcp chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
ops_sanitizer_timeout_failure chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
ops_sanitizer_unstable chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
opt_out_top_level_exclude_via_test_unexclude chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
overloads chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
package_json_basic fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
package_json_basic_auto_install fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
parallel_flag chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
parallel_flag_with_env_variables chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
parallel_output chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
pass chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
quiet chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
recursive_permissions_pledge chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
report_error chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
resource_sanitizer chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
sanitizer_trace_ops_catch_error chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
sanitizer_with_error chore(specs): use jsonc for metadata file (#22946) 2024-03-15 17:27:52 +00:00
sanitizer_with_top_level_ops chore(specs): use jsonc for metadata file (#22946) 2024-03-15 17:27:52 +00:00
shuffle chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
shuffle_with_seed chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
slow_test feat(cli): Add slow test warning (#23874) 2024-05-22 08:08:27 -06:00
steps_dot_failing_steps chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
steps_dot_ignored_steps chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
steps_dot_passing_steps chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
steps_failing_steps chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
steps_ignored_steps chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
steps_invalid_usage chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
steps_output_within chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
steps_passing_steps chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
steps_tap_failing_steps chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
steps_tap_ignored_steps chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
steps_tap_passing_steps chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
test_and_bench fix: don't panic in test and bench if ops not available (#23055) 2024-03-24 16:16:45 -07:00
test_filtered_out_only chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
test_replace_timers chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
test_with_config chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
test_with_config2 chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
test_with_custom_jsx chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
test_with_glob_config chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
test_with_malformed_config chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
text chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
type_check_with_doc feat(cli): evaluate code snippets in JSDoc and markdown (#25220) 2024-09-17 21:35:48 -07:00
uncaught_errors chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
unhandled_rejection chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
unresolved_promise chore: deprecate test itests (#25512) 2024-09-16 19:38:40 +00:00
worker_large_output fix(cli): Identify and fix a test deadlock (#23411) 2024-04-16 15:14:59 -06:00
workspace feat: npm workspace and better Deno workspace support (#24334) 2024-07-04 00:54:33 +00:00