0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-01 20:25:12 -05:00
denoland-deno/cli/tools
Bartek Iwańczuk 244926e83c
feat(test): format user code output (#14271)
This commit changes "deno test" to better denote user output coming
from test cases.

This is done by printing "---- output ----" and "---- output end ----"
markers if an output is produced. The output from "console" and
"Deno.core.print" is captured, as well as direct writes to "Deno.stdout"
and "Deno.stderr".

To achieve that new APIs were added to "deno_core" crate, that allow
to replace an existing resource with a different one (while keeping resource
ids intact). Resources for stdout and stderr are replaced by pipes.

Co-authored-by: David Sherret <dsherret@gmail.com>
2022-04-15 14:24:41 +02:00
..
coverage chore: upgrade dprint-core to 0.54.1 (#14146) 2022-03-29 13:33:00 -04:00
repl fix: upgrade to swc_ecmascript 0.143 (#14238) 2022-04-08 12:31:47 -04:00
vendor chore: upgrade to Rust 1.59 (#13767) 2022-02-24 20:03:12 -05:00
bench.rs feat: Add "deno check" subcommand for type checking (#14072) 2022-04-11 01:12:51 +02:00
doc.rs feat(cli): Replace bundling with eszip in deno compile (#13563) 2022-02-15 18:03:46 +05:30
fmt.rs feat(cli/fmt): ignore .git folder when formatting files (#14138) 2022-03-29 14:57:42 -04:00
installer.rs feat: Add "deno check" subcommand for type checking (#14072) 2022-04-11 01:12:51 +02:00
lint.rs chore: remove all pub(crate)s from the cli crate (#14083) 2022-03-23 09:54:22 -04:00
mod.rs feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
standalone.rs feat: Add "deno check" subcommand for type checking (#14072) 2022-04-11 01:12:51 +02:00
task.rs feat(task): add unstable warning to deno task (#13966) 2022-03-15 21:24:07 -04:00
test.rs feat(test): format user code output (#14271) 2022-04-15 14:24:41 +02:00
upgrade.rs chore(tests): use custom temp dir creation for the tests (#14153) 2022-04-01 11:15:37 -04:00