summaryrefslogtreecommitdiff
path: root/cli/tests
AgeCommit message (Collapse)Author
2020-12-12Revert "chore(test): increase file watcher timeout duration on macOS ↵Bartek Iwańczuk
(#8733)" (#8737) This reverts commit f4cf1b453846a28a306316d197c3c15a41594b33.
2020-12-12chore(test): increase file watcher timeout duration on macOS (#8733)Yusuke Tanaka
2020-12-11refactor(cli): decouple ops from ProgramState and Flags (#8659)Bartek Iwańczuk
This commit does major refactor of "Worker" and "WebWorker", in order to decouple them from "ProgramState" and "Flags". The main points of interest are "create_main_worker()" and "create_web_worker_callback()" functions which are responsible for creating "Worker" and "WebWorker" in CLI context. As a result it is now possible to factor out common "runtime" functionality into a separate crate.
2020-12-11chore: fixed various misspellings and other typos (#8691)Anh Hong
2020-12-10refactor(core): stack trace mapping (#8660)Bartek Iwańczuk
This commit adds "Deno.core.createPrepareStackTrace". This function was moved from "cli/rt/40_error_stack.js" to unify handling of stack frames in core (before this PR there was implicit dependency on logic in "core/error.rs::JsError"). Unfortunately formatting logic must still be duplicated in "cli/error.js::PrettyJsError" to provide coloring, but currently there's no solution to this problem. "createPrepareStackTrace" can accept a single argument; a function that takes a location and provides source mapped location back.
2020-12-09fix(op_crates/fetch): support non-ascii response headers value (#8600)Jae-Heon Ji
2020-12-08Remove dead code: itest_ignore (#8668)Ryan Dahl
2020-12-07refactor(cli/rt): deduplicate code (#8649)Benjamin Gruenbaum
2020-12-07chore(std): Remove tsconfig_test.json (#8629)Nayeem Rahman
Ref #8050
2020-12-07feat: add mvp language server (#8515)Kitson Kelly
Resolves #8400
2020-12-04upgrade: swc_bundler 0.17.5 (#8588)Bartek Iwańczuk
2020-12-02fix(cli): add hygiene pass to transpile pipeline (#8586)János Veres
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-12-01fix(compile): disable source mapping of errors (#8581)Bartek Iwańczuk
This commit disables source mapping of errors for standalone binaries. Since applying source maps relies on using file fetcher infrastructure it's not feasible to use it for standalone binaries that are not supposed to use that infrastructure.
2020-12-01chore(cli/flags): Use deno compile --output for the out file (#8563)Nayeem Rahman
2020-12-01disable flaky watch tests (#8557)Bartek Iwańczuk
2020-11-30feat: deno compile (#8539)Luca Casonato
2020-11-30feat(unstable): add cbreak option to setRaw (#8383)Marcus Hultman
2020-11-30upgrade: deno_doc, deno_lint, dprint, swc (#8552)Bartek Iwańczuk
2020-11-29feat(cli/tools/upgrade): canary support (#8476)crowlKats
2020-11-28fix(watcher): watcher doesn't exit when module resolution fails (#8521)Yusuke Tanaka
This commit makes the file watcher continue to work even if module resolution fails at the initial attempt, allowing us to execute `run` or `bundle` subcommand when a script has invalid syntax. In such cases, the watcher observes a single file that is specified as an command line argument.
2020-11-27fix(cli): make output of deno info --json deterministic (#8483)William Perron
Fixes #8458
2020-11-27test(cli): fix brittle network permission test (#8526)William Perron
2020-11-27test: fix flaky "run_watch" test (#8519)Bartek Iwańczuk
2020-11-27fix(cli/ops/net): add write permissions for unixpackets datagrams & unix ↵William Perron
socket (#8511) Fixes #7781
2020-11-27fix flaky tests by using exec in PTY tests (#8525)Ryan Dahl
2020-11-27fix test_raw_tty hang (#8520)Ryan Dahl
2020-11-27fix: panic in worker when closing at top level (#8510)Bartek Iwańczuk
Fixes panic occurring in worker when "self.close()" is called at the top level, ie. worker shuts down while module evaluation promise hasn't yet resolved.
2020-11-26fix: "onload" event order (#8376)Benjamin Gruenbaum
This commit fixes order of events for "onload" event. Previously handler attached using "window.onload" was always fired before handlers added using "addEventListener".
2020-11-26fix(watch): fix flaky tests for watcher (#8508)Bartek Iwańczuk
2020-11-26fix: re-enable test_raw_tty (#8509)Ryan Dahl
2020-11-26refactor(cli/tests): replace createResolvable with deferred (#8507)crowlKats
2020-11-25fix(websocket): Fix PermissionDenied error being caught in constructor (#8402)crowlKats
2020-11-24feat(test): horizontal separator between disjoint runs of lines (#8484)Valentin Anger
Places a newline between non-consecutive line block in coverage report to improve readability.
2020-11-24fix(op_crates/fetch): `redirect: "manual"` fetch should return `type: ↵Luca Casonato
"default"` response (#8353)
2020-11-24feat(cli): update to TypeScript 4.1 (#7573)Kitson Kelly
2020-11-23fix(cli): add file URL support for Deno.readLink (#8423)William Perron
2020-11-23tests(cli): add test for improper unicode encoding (#8162)Kitson Kelly
and updates swc_ecma_codegen Closes #8161
2020-11-23fix(cli/tsc): allow non-standard extensions on imports (#8464)Nayeem Rahman
2020-11-22feat(unstable): Support --watch flag for bundle and fmt subcommands (#8276)Yusuke Tanaka
This commit adds support for "--watch" flag for "bundle" and "fmt" subcommands. In addition to this, it refactors "run --watch" command so that module resolution will occur every time the file watcher detects file addition/deletion, which allows the watcher to observe a file that is newly added to the dependency as well.
2020-11-22chore(cli/flags): Rename --failfast to --fail-fast (#8456)Nayeem Rahman
2020-11-22feat(unstable): Add deno test --no-run (#8093)Nayeem Rahman
This commit adds new flag to "deno test" subcommand called "--no-run" that allows to preload, cache an type check.
2020-11-21upgrade: rusty_v8 0.13.0, v8 8.8.278.2 (#8446)Bartek Iwańczuk
2020-11-21upgrade: deno_doc, deno_lint, dprint, swc (#8443)Bartek Iwańczuk
2020-11-19fix(cli/tests): printf.exe doesn't exist on windows (#8404)Mark Tiedemann
2020-11-14build: update dlint to v0.2.10 (#8284)Yusuke Tanaka
Update prebuilt "dlint" binary to v0.2.10 and fix diagnostics for "require-await" rule. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-11-14fix: fix various global objects constructor length (#8373)Benjamin Gruenbaum
This commit changes various Web APIs constructors to match their signature in the browser.
2020-11-11fix(op_crates/web): FileReader event handler order (#8348)Benjamin Gruenbaum
2020-11-10fix(web/worker) define event handlers in DOM order (#8334)Benjamin Gruenbaum
2020-11-10fix(cli/rt): dom handler order in websocket (#8320)Benjamin Gruenbaum
2020-11-10tests(cli): check ignores dynamic import errors (#8323)Kitson Kelly
Closes #6618