summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
AgeCommit message (Collapse)Author
2020-10-12feat(cli): support importmap flag with deno doc subcommand (#7821)Valentin Anger
Fixes #7783
2020-10-10Fix 100% CPU idling problem by reverting #7672 (#7911)Ryan Dahl
* Revert "refactor: Worker is not a Future (#7895)" This reverts commit f4357f0ff9d39411f22504fcc20db6bd5dec6ddb. * Revert "refactor(core): JsRuntime is not a Future (#7855)" This reverts commit d8879feb8c832dbb38649551b1cb0730874f7be6. * Revert "fix(core): module execution with top level await (#7672)" This reverts commit c7c767782538243ded64742dca9b34d6af74d62d.
2020-10-06fix(core): module execution with top level await (#7672)Bartek Iwańczuk
This commit fixes implementation of top level await in "deno_core". Previously promise returned from module execution was ignored causing to execute modules out-of-order. With this commit promise returned from module execution is stored on "JsRuntime" and event loop is polled until the promise resolves.
2020-10-02feat(cli/repl): enable await and let re-declarations (#7784)Casper Beyer
This enables `replMode` during evaluations which allows for top level await and let re-declarations.
2020-10-02fix(cli/repl): use a default referrer when empty (#7794)Casper Beyer
This makes use of a default referrer when its empty in repl mode so that dynamic imports work in the global evaluation context. Co-authored-by: Bartek Iwanczuk <biwanczuk@gmail.com>
2020-10-02refactor(repl): use an inspector session (#7763)Casper Beyer
This ports the REPL over to Rust and makes use of an inspector session to run a REPL on top of any isolate which lets make full use of rustylines various things like validators and completors without having to introduce a bunch of hard to test internal ops and glue code. An accidental but good side effect of this is that the multiple line input we previously had is now an editable multi-line input prompt that is correctly stored in the history as a single entry.
2020-10-01refactor: add concept of 'legacy' compiler to enable non-breaking ↵Kitson Kelly
refactoring (#7762)
2020-09-30fix: check cached versions during transpile (#7760)Kitson Kelly
Fixes: #7759
2020-09-30fix(cli): use global_state file_fetcher when using SpecifierHandler (#7748)Kitson Kelly
Fixes: #7709
2020-09-27fix: no check recognizes require (#7720)Luca Casonato
2020-09-23fix: ignore fileExists in tsc host (#7635)Kitson Kelly
Fixes #7630
2020-09-22fix: clearing timers race condition (#7617)Bartek Iwańczuk
2020-09-21fix(cli/repl): interpret object literals as expressions (#7591)Casper Beyer
2020-09-21refactor: use futures and serde_json from deno_core (#7614)Bartek Iwańczuk
2020-09-21fix(info): add --importmap flag (#7424)William Perron
2020-09-20fix(fmt,lint): do not print number of checked files when `--quiet` is ↵Yusuke Tanaka
enabled (#7579)
2020-09-18fix(cli/fmt): canonicalize files in current dir (#7508)tokiedokie
2020-09-18fix(cli/repl): format evaluation results with the object specifier (#7561)Casper Beyer
2020-09-16Re-export deno_core::url (#7525)Ryan Dahl
Also re-exports deno_core::futures and deno_core::serde_json but these are not yet used in the CLI.
2020-09-16Remove unnecessary extern statementsRyan Dahl
2020-09-15refactor(cli/tests): change std_path to root_path in std_tests() (#7438)tokiedokie
2020-09-14test: reenable TS decorator test (#7471)Bartek Iwańczuk
2020-09-14test(cli/tests/https_import): use ts file in localhost instead of remote (#7431)tokiedokie
2020-09-14test(cli/tests/unit): Enable color for js_unit_tests (#7443)Nayeem Rahman
2020-09-13feat(unstable): deno test --coverage (#6901)Casper Beyer
This commit adds basic support for collecting coverage data using "deno test". Currently the report is only a text added to the end of output from "deno test".
2020-09-13upgrade: deno_doc, deno_lint, dprint, swc (#7434)Bartek Iwańczuk
upgrades: - swc_ecmascript 0.7.7 - dprint-plugin-typescript 0.31.3 - deno_lint 0.2.0 - deno_doc 0.1.9 Split std_lint test into std_lint and unit_test_lint. Added lint ignores to CommonJS files in std/node.
2020-09-13upgrade: rusty_v8 0.10.0 / V8 8.7.75 (#7429)Bert Belder
2020-09-13fix(WebSocket): no panic on failed connect + handle promise rejection via ↵Luca Casonato
error event (#7437)
2020-09-12chore: remove --no-check from deno info (#7439)Luca Casonato
2020-09-12chore: add systemMemoryInfo unstable diagnostic (#7435)Luca Casonato
2020-09-12Revert "feat(unstable): Support data: urls (#5157)" (#7432)Bartek Iwańczuk
This reverts commit e3319f34a6ece36eab3138eae83c8d0e18fcc07c.
2020-09-11feat(unstable): Support data: urls (#5157)Valentin Anger
2020-09-11feat(unstable): deno run --watch (#7382)Bartek Iwańczuk
Co-authored-by: Sebastian Seedorf <mail@sebse.de>
2020-09-09feat(fmt, lint): show number of checked files (#7312)Yusuke Tanaka
2020-09-09fix(op_crates/web): Use "deno:" URLs for internal script specifiers (#7383)Nayeem Rahman
2020-09-07feat(info): Dependency count and sizes (#6786)KrisChambers
This commit changes "deno info" subcommand logic. - Modules are no longer loaded into V8 isolate - analysis is done using ModuleGraph. - Removed deno_core::Deps structure. - Modules are no longer type-checked and transpiled - "compiled" file is shown only if it is already available. - Added number of unique dependencies for root module. - Changed tree output: - file size is shown next to the dependency - repeated dependencies are marked with "*" - used less spaces in prefix to save terminal width
2020-09-05feat: Implement WebSocket API (#7051)crowlKats
2020-09-03support env_logger / RUST_LOG (#7142)tokiedokie
2020-09-02Remove unnecessary stdout pipes in tests (#7322)Ryan Dahl
2020-08-31feat(lint): Add support for reading input from stdin (#7263)Yusuke Tanaka
2020-08-28Move benchmarks to Rust (#7134)Valentin Anger
All benchmarks are done in Rust and can be invoked with `cargo bench`. Currently this has it's own "harness" that behaves like `./tools/benchmark.py` did. Because of this tests inside `cli/bench` are currently not run. This should be switched to the language provided harness once the `#[bench]` attribute has been stabilized.
2020-08-26fix(cli): revert "never type check deno info #6978" (#7199)Luca Casonato
2020-08-23fix(doc): stack overflow for .d.ts files (#7167)Bartek Iwańczuk
2020-08-18refactor: permissions (#7074)Nayeem Rahman
2020-08-18Fix nightly and Windows-only clippy warnings (#7095)Bert Belder
2020-08-14Enable WebAssembly.instantiateStreaming (#7043)Casper Beyer
2020-08-13feat: Add "--json" flag to deno lint (#6940)souldzin
Co-authored-by: JackSkylark <jdslaughter44@gmail.com>
2020-08-12feat: add "--ignore" to deno lint (#6934)Divy Srivastava
2020-08-10Remove unnecessary drop calls (#7007)Ryan Dahl
2020-08-10feat: Stabilize Deno.mainModule (#6993)Nayeem Rahman