Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-05-09 | feat(test): change "failures:" headers in test report (#14490) | Bartek Iwańczuk | |
2022-05-05 | feat(test): Show Deno.test() call locations for failures (#14484) | Nayeem Rahman | |
2022-05-04 | chore: fix flaky `steps_output_within` test (#14479) | David Sherret | |
2022-05-01 | fix(test): actually capture stdout and stderr in workers (#14435) | David Sherret | |
2022-04-27 | refactor: Remove PrettyJsError and js_error_create_fn (#14378) | Nayeem Rahman | |
This commit: - removes "fmt_errors::PrettyJsError" in favor of "format_js_error" fn - removes "deno_core::JsError::create" and "deno_core::RuntimeOptions::js_error_create_fn" - adds new option to "deno_runtime::ops::worker_host::init" | |||
2022-04-26 | fix(test): capture worker stdout and stderr in test output (#14410) | David Sherret | |
2022-04-26 | fix(test): capture inherited stdout and stderr for subprocesses in test ↵ | David Sherret | |
output (#14395) | |||
2022-04-18 | feat(test): skip internal stack frames for errors (#14302) | Bartek Iwańczuk | |
This commit changes "deno test" to filter out stack frames if it is beneficial to the user. This is the case when there are stack frames coming from "internal" code below frames coming from user code. Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com> | |||
2022-04-16 | fix(cli/tools/test): Prefix test module paths with "./" (#14301) | Nayeem Rahman | |
2022-04-16 | feat(test): use structured data for JavaScript errors in tests (#14287) | Bartek Iwańczuk | |
This commit rewrites test runner to send structured error data from JavaScript to Rust instead of passing strings. This will allow to customize display of errors in test report (which will be addressed in follow up commits). | |||
2022-04-15 | feat(test): format user code output (#14271) | Bartek Iwańczuk | |
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-11 | feat(test): Improve testing report output (#14255) | Bartek Iwańczuk | |
Following changes were done in this commit: - remove "test" prefix before each test - use gray color for "running N tests from ..." prompt - use relative path or remote URL instead of full URL in "running N tests from ..." prompt - in "failures" section, add file path/remote URL before the test name Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> | |||
2022-04-11 | feat: Add "deno check" subcommand for type checking (#14072) | Bartek Iwańczuk | |
This commit adds new "deno check" subcommand. Currently it is an alias for "deno cache" with the difference that remote modules don't emit TS diagnostics by default. Prints warning for "deno run" subcommand if "--check" flag is not present and there's no "--no-check" flag. Adds "DENO_FUTURE_CHECK" env variable that allows to opt into new behavior now. | |||
2022-03-30 | feat(lsp): add experimental testing API (#13798) | Kitson Kelly | |
Ref: denoland/vscode_deno#629 | |||
2022-03-29 | refactor(flags): rename CheckFlag to TypecheckMode (#14111) | Bartek Iwańczuk | |
2022-03-11 | fix(compat): cjs/esm interop for dynamic imports (#13792) | Bartek Iwańczuk | |
This commit fixes CJS/ESM interop in compat mode for dynamically imported modules. "ProcState::prepare_module_load" was changed to accept a list of "graph roots" without associated "module kind". That module kind was always hardcoded to "ESM" which is not true for CJS/ESM interop - a CommonJs module might be imported using "import()" function. In such case the root of the graph should have "CommonJs" module kind instead of "ESM". | |||
2022-03-11 | fix(test): skip typechecking for blocks inside HTML comments (#13889) | Geert-Jan Zwiers | |
2022-03-09 | refactor(test): use tokio::sync::mpsc::unbounded_channel (#13881) | Bartek Iwańczuk | |
This causes to block one less thread when running "deno test" subcommand. | |||
2022-03-09 | refactor: add cli/display.rs module (#13879) | Bartek Iwańczuk | |
2022-03-08 | refactor(test): don't spawn additional thread (#13877) | Bartek Iwańczuk | |
2022-03-08 | fix(test): typecheck blocks annotated with long js/ts notations (#13785) | Geert-Jan Zwiers | |
2022-02-25 | feat: deno test --trace-ops (#13770) | Bartek Iwańczuk | |
This commit adds "--trace-ops" flag to "deno test" subcommand. This flag enables saving of stack traces for async ops, that before were always saved. While the feature proved to be very useful it comes with a significant performance hit, it's caused by excessive source mapping of stack frames. | |||
2022-02-24 | chore: upgrade to Rust 1.59 (#13767) | David Sherret | |
2022-02-16 | feat(test): improved op sanitizer errors + traces (#13676) | Luca Casonato | |
This commit improves the error messages for the `deno test` async op sanitizer. It does this in two ways: - it uses handwritten error messages for each op that could be leaking - it includes traces showing where each op was started This "async op tracing" functionality is a new feature in deno_core. It likely has a significant performance impact, which is why it is only enabled in tests. | |||
2022-02-11 | refactor: use `Arc` instead of making copies of `Flags` struct (#13610) | Maxim | |
2022-02-01 | refactor: integrate deno_graph breaking changes (#13495) | Kitson Kelly | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-01-31 | feat(cli): add "--no-clear-screen" flag (#13454) | Zheyu Zhang | |
This commit adds "--no-clear-screen" flag which can be used with "--watch" flag to disable clearing of terminal screen on each file change. | |||
2022-01-15 | chore: upgrade to rust 1.58 (#13377) | David Sherret | |
2022-01-13 | refactor: move transpiling to deno_ast (#13332) | David Sherret | |
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2021-12-30 | feat(test): Add support for "deno test --compat" (#13235) | Steven Guerrero | |
2021-12-29 | cleanup(cli): use op Extensions (#13223) | Aaron O'Mullan | |
Enabling op-middleware for overrides in lieu of imperative .replace_op() etc... Impacts #13219, #12938, #13122 | |||
2021-12-22 | chore: update deno_graph and deno_doc (#13173) | Kitson Kelly | |
2021-12-21 | refactor: cleanup cli/main.rs (#13160) | Bartek Iwańczuk | |
2021-12-20 | refactor: Use dedicated flags structures (#13148) | Bartek Iwańczuk | |
2021-12-16 | refactor(cli): use GraphData for check and emit (#12960) | Nayeem Rahman | |
2021-12-15 | chore: updates to support deno_graph API changes (#13080) | Kitson Kelly | |
2021-11-16 | fix(cli): short-circuit in prepare_module_load() (#12604) | Nayeem Rahman | |
2021-11-15 | feat(unstable/test): include test step pass/fail/ignore counts in final ↵ | David Sherret | |
report (#12432) | |||
2021-11-15 | fix(test): support typechecking docs with CRLF line endings (#12748) | Geert-Jan Zwiers | |
2021-11-09 | feat(cli): support React 17 JSX transforms (#12631) | Kitson Kelly | |
Closes #8440 | |||
2021-11-08 | refactor: move `mod tokio_util` to runtime (#12332) | Bert Belder | |
This avoids a bunch of duplicated code. | |||
2021-11-01 | chore: upgrade deno_ast to 0.5.0 (#12595) | David Sherret | |
2021-11-01 | chore(cli): fix typo in variable name (#12617) | Dezső Mészáros | |
2021-10-30 | feat(test): better formatting for test elapsed time (#12610) | Bartek Iwańczuk | |
This commit changes formatting of elapsed time in test runner output. Instead of "XXXms", reporter outputs one of: - "XXXms" for <1000ms - "XXs" for <60s - "XXXmYYs" for >=60s | |||
2021-10-12 | chore: upgrade crates based on deno ast 0.3 (#12403) | David Sherret | |
2021-10-11 | feat(unstable/test): imperative test steps API (#12190) | David Sherret | |
2021-10-11 | refactor: integrate deno_graph into CLI (#12369) | Kitson Kelly | |
2021-09-24 | refactor: Rename ProgramState to ProcState (#12204) | Ryan Dahl | |
Move Arc into struct | |||
2021-09-18 | refactor(cli): don't generate a module for side loading tests (#12129) | Casper Beyer | |