Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-13 | refactor(cli/tools): reduce cloning (#17309) | Geert-Jan Zwiers | |
2023-01-12 | fix: don't unwrap in test pipe handling logic (#17341) | Leo Kettmeir | |
Fixes #14746 | |||
2023-01-10 | fix(watch): preserve `ProcState::file_fetcher` between restarts (#15466) | Nayeem Rahman | |
This commit changes "ProcState" to store "file_fetcher" field in an "Arc", allowing it to be preserved between restarts and thus keeping the state alive between the restarts. File watchers for "deno test" and "deno bench" now reset "ProcState" between restarts. | |||
2023-01-07 | refactor(cli/tools): move flag and config logic to CliOptions (#17008) | Geert-Jan Zwiers | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2023-01-07 | refactor(permissions): add PermissionsContainer struct for internal ↵ | Bartek Iwańczuk | |
mutability (#17134) Turns out we were cloning permissions which after prompting were discarded, so the state of permissions was never preserved. To handle that we need to store all permissions behind "Arc<Mutex<>>" (because there are situations where we need to send them to other thread). Testing and benching code still uses "Permissions" in most places - it's undesirable to share the same permission set between various test/bench files - otherwise granting or revoking permissions in one file would influence behavior of other test files. | |||
2023-01-02 | chore: update copyright year to 2023 (#17247) | David Sherret | |
Yearly tradition of creating extra noise in git. | |||
2022-12-05 | fix(test): improve how `--fail-fast` shuts down when hitting limit (#16956) | David Sherret | |
Closes #15650 | |||
2022-11-28 | refactor: create util folder, move nap_sym to napi/sym, move http_cache to ↵ | David Sherret | |
cache folder (#16857) | |||
2022-11-21 | feat(core): Ability to create snapshots from existing snapshots (#16597) | Bartek Iwańczuk | |
Co-authored-by: crowlkats <crowlkats@toaxl.com> | |||
2022-11-18 | chore: use Rust 1.65.0 (#16688) | Aaron O'Mullan | |
2022-09-19 | chore: fix clippy warnings (#15944) | Ben Noordhuis | |
Stop allowing clippy::derive-partial-eq-without-eq and fix warnings about deriving PartialEq without also deriving Eq. In one case I removed the PartialEq because it a) wasn't necessary, and b) sketchy because it was comparing floating point numbers. IMO, that's a good argument for enforcing the lint rule, because it would most likely have been caught during review if it had been enabled. | |||
2022-09-02 | refactor: move JsError formatting to deno_runtime (#15345) | Christian Dürr | |
This takes the existing `fmt_error` module from cli and puts it as a public module into `deno_runtime`. | |||
2022-08-23 | feat: binary npm commands (#15542) | David Sherret | |
2022-08-21 | chore: use Rust 1.63.0 (#15464) | Mathias Lafeldt | |
2022-08-11 | refactor(cli): consolidate most MainWorker related code to the same place ↵ | David Sherret | |
(#15459) | |||
2022-08-10 | fix(permissions): ignore empty values (#15447) | Leo Kettmeir | |
2022-08-04 | fix(test): output parallel test results independently (#15399) | Nayeem Rahman | |
2022-08-02 | fix(test): race condition for cancelled tests (#15233) | Nayeem Rahman | |
2022-07-18 | feat(cli): support configuring the test tool in the config file (#15079) | Roj | |
2022-07-15 | refactor: allocate IDs for tests (#14729) | Nayeem Rahman | |
2022-07-11 | refactor: rename run_basic to run_local (#15068) | cuobiezi | |
2022-07-01 | refactor: extract `deno_graph::create_graph` use to common function (#15009) | David Sherret | |
2022-07-01 | chore: use Rust 1.62.0 (#15028) | Bartek Iwańczuk | |
2022-06-29 | refactor: rename `RootConfig` to `CliOptions` (#15007) | David Sherret | |
2022-06-28 | refactor: add `RootConfig` (#14985) | David Sherret | |
2022-06-28 | feat(web): add beforeunload event (#14830) | Colin Ihrig | |
This commit adds the 'beforeunload' event. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-06-27 | refactor: create `args` folder (#14982) | David Sherret | |
2022-06-24 | fix: don't error if Deno.bench() or Deno.test() are used in run subcommand ↵ | Bartek Iwańczuk | |
(#14946) | |||
2022-06-20 | refactor: add `EmitCache` trait (#14925) | David Sherret | |
2022-06-15 | fix(check): use "moduleDetection": "force" (#14875) | Nayeem Rahman | |
2022-06-14 | feat(test): update test summary report (#14629) | Mark Ladyshau | |
2022-05-30 | refactor(bench): Allocate IDs for benches (#14757) | Nayeem Rahman | |
2022-05-20 | refactor: upgrade to deno_ast 0.15 (#14680) | David Sherret | |
2022-05-10 | fix: do not panic on `TestOutputPipe::flush` when receiver dropped (#14560) | David Sherret | |
2022-05-10 | chore: fix flaky steps_output_within - part 2 (#14562) | David Sherret | |
2022-05-09 | feat(test): repeat test name if there's user output (#14495) | Bartek Iwańczuk | |
This commit changes test report output to repeat test name before printing result, but only if there's user output, denoted by markers. | |||
2022-05-09 | feat(test): Represent uncaught errors (#14513) | Nayeem Rahman | |
This commit adds better reporting of uncaught errors in top level scope of testing files. This change affects both console runner as well as LSP runner. | |||
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. |