1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-deno/tests/testdata
Matt Mastracci b6e44f91ad
fix(cli): ensure that pre- and post-test output is flushed at the appropriate times (#22611)
Some `deno_std` tests were failing to print output that was resolved
after the last test finished. In addition, output printed before tests
began would sometimes appear above the "running X tests ..." line, and
sometimes below it depending on timing.

We now guarantee that all output is flushed before and after tests run,
making the output consistent.

Pre-test and post-test output are captured in `------ pre-test output
------` and `------ post-test output ------` blocks to differentiate
them from the regular output blocks.

Here's an example of a test (that is much noisier than normal, but an
example of what the output will look like):

```
Check ./load_unload.ts
------- pre-test output -------
load
----- output end -----
running 1 test from ./load_unload.ts
test ...
------- output -------
test
----- output end -----
test ... ok ([WILDCARD])
------- post-test output -------
unload
----- output end -----
```
2024-02-28 22:12:21 +00:00
..
assets chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
bench chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
benches chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
bundle chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
cache chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
cert chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
check chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
commonjs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
compile fix(compile): respect compiler options for emit (#22521) 2024-02-21 23:03:11 +00:00
coverage chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
doc chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
dynamic_import chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
encoding chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
eval chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
file_extensions chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
fmt chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
import_attributes chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
import_maps chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
info fix(ext/node): permission prompt for missing process.env permissions (#22487) 2024-02-20 16:40:32 -05:00
inspector chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
install chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
jsr fix(jsr): do not allow importing a non-JSR url via unanalyzable dynamic import from JSR (#22623) 2024-02-28 16:30:45 -05:00
jsx chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
jupyter chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
lint feat(unstable/lint): no-slow-types for JSR packages (#22430) 2024-02-19 15:28:41 +00:00
lockfile chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
lsp chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
malformed_config chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
module_graph chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
node chore(cli): fix part of flaky test (#22515) 2024-02-21 19:10:51 +00:00
npm chore: move test_util to tests/util/server (#22444) 2024-02-19 06:34:24 -07:00
package_json chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
publish feat(publish): provenance attestation (#22573) 2024-02-28 07:58:02 +05:30
repl chore: bump deno_core (#22596) 2024-02-27 08:05:57 -07:00
run fix(cli): ensure that pre- and post-test output is flushed at the appropriate times (#22611) 2024-02-28 22:12:21 +00:00
runtime chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
subdir chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
task chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
test fix(cli): ensure that pre- and post-test output is flushed at the appropriate times (#22611) 2024-02-28 22:12:21 +00:00
tls chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
tsc chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
tsc2 chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
type_definitions chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
types chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
unfurl feat(publish): support sloppy imports and bare node built-ins (#22588) 2024-02-27 15:13:16 +00:00
vendor chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
webcrypto chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
webgpu chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
workers chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
allow_run_allowlist_resolution.ts chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
allow_run_allowlist_resolution.ts.out chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
cat.ts chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
echo.ts chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
echo_server.ts chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
env chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
error_cause_recursive_aggregate.ts chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
error_cause_recursive_aggregate.ts.out chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
error_cause_recursive_tail.ts chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
error_cause_recursive_tail.ts.out chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
navigator_language.ts chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
navigator_languages.ts chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
spawn_kill_permissions.ts chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
symlink_to_subdir chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
welcome.ts chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00