summaryrefslogtreecommitdiff
path: root/test_util/src
AgeCommit message (Collapse)Author
2022-05-02fix(test/bench): accept file protocol module specifier CLI args (#14429)Adilson Schmitt Junior
2022-04-03refactor(lsp): migrate from lspower back to tower-lsp (#14163)Jason
2022-04-01chore(tests): use custom temp dir creation for the tests (#14153)David Sherret
2022-03-30chore(tests): add more lsp tests for formatting (#14155)David Sherret
2022-03-30feat(lsp): add experimental testing API (#13798)Kitson Kelly
Ref: denoland/vscode_deno#629
2022-03-29chore: upgrade dprint-core to 0.54.1 (#14146)David Sherret
2022-03-15chore(test_util): use pretty_assertions::assert_eq when not pattern matching ↵David Sherret
(#13965)
2022-03-10feat: "deno task" subcommand (#13725)Bartek Iwańczuk
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-02-07refactor: factor out CDP message types (#13551)Leo Kettmeir
2022-02-02refactor(lsp): remove circular dependency between `LanguageServer` and ↵David Sherret
`DiagnosticsServer` (#13577)
2022-02-02fix(lsp): properly display x-deno-warning with redirects (#13554)Kitson Kelly
Fixes: #13472
2022-01-31fix(cli): handle extensionless imports better (#13548)Kitson Kelly
Fixes #13526
2022-01-15chore: upgrade to rust 1.58 (#13377)David Sherret
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2021-12-21test(test_util/lsp): add tests for invalid content-length (#12971)Hirotaka Tagawa / wafuwafu13
2021-12-21feat(lsp): supply accept header when fetching registry config (#13159)Kitson Kelly
Closes #13153
2021-12-09feat(lsp): registry suggestion cache respects cache headers (#13010)Kitson Kelly
Fixes #9931
2021-12-07chore: upgrade to rustls 0.20 (#12488)Ryan Dahl
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Bert Belder <bertbelder@gmail.com>
2021-11-24chore: speed up compat tests (#12884)Bartek Iwańczuk
This commit speeds up compat tests by using local copy of "deno_std" instead of downloading it from https://deno.land for each test. Additionally type checking is skipped.
2021-11-14chore(tests): fix typo in pty.rs (#12757)Ikko Ashimine
2021-11-09fix(fetch): set content-length for empty POST/PUT (#12703)Luca Casonato
This commit changes `fetch` to set `content-length: 0` on POST and PUT requests with no body.
2021-11-09feat(cli): support React 17 JSX transforms (#12631)Kitson Kelly
Closes #8440
2021-10-25fix(tls): Make TLS clients support HTTP/2 (#12530)Andreu Botella
`fetch()` and client-side websocket used to support HTTP/2, but this regressed in #11491. This patch reenables it by explicitly adding `h2` and `http/1.1` to the list of ALPN protocols on the HTTP and websocket clients.
2021-09-30feat(tls): custom in memory CA certificates (#12219)Luca Casonato
This adds support for using in memory CA certificates for `Deno.startTLS`, `Deno.connectTLS` and `Deno.createHttpClient`. `certFile` is deprecated in `startTls` and `connectTls`, and removed from `Deno.createHttpClient`.
2021-09-20chore(tests): windows pty tests (#12091)David Sherret
2021-09-09fix: permission prompt stuffing (#11931)Ryan Dahl
Fixes #9750
2021-09-08feat(cli): Support Basic authentication in DENO_AUTH_TOKENS (#11910)BasiqueEvangelist
2021-08-25feat(fetch): mTLS client certificates for fetch() (#11721)Sean Michael Wykes
This commit adds support for specifying client certificates when using fetch, by means of `Deno.createHttpClient`.
2021-08-17chore(tests): delete the temporary deno dir when dropping the test lsp ↵David Sherret
client (#11749)
2021-08-11chore: move test files to testdata directory (#11601)David Sherret
2021-08-09feat: support client certificates for connectTls (#11598)Ryan Dahl
Co-authored-by: Daniel Lamando <dan@danopia.net> Co-authored-by: Erik Price <github@erikprice.net>
2021-08-06feat(repl): add --eval flag for evaluating code when the repl starts (#11590)David Sherret
2021-07-03feat: enable WebAssembly.instantiateStreaming and wasm async compilation ↵Andreu Botella
(#11200) The WebAssembly streaming APIs used to be enabled, but used to take buffer sources as their first argument (see #6154 and #7259). This change re-enables them, requiring a Promise<Response> instead, as well as enabling asynchronous compilation of WebAssembly modules.
2021-06-17chore: upgrade Rust to 1.53.0 (#11021)Yusuke Tanaka
2021-06-10chore: Fix broken test on Windows (#10900)David Sherret
2021-06-08chore(tests): Friendlier message when running the tests and forgetting to ↵David Sherret
run `cargo build` first. (#10901)
2021-05-21chore(lsp): provide test for lsp deadlock issue (#10679)Kitson Kelly
Resolves: #10587
2021-05-18refactor: share test harness for lsp between bench and integration (#10659)Kitson Kelly
2021-05-13fix(cli): ignore x-typescript-types header when media type is not js/jsx ↵Yoshiya Hinosawa
(#10574)
2021-05-09chore(test): remove unused function (#10537)Ben Noordhuis
Remove a function that was forgotten in commit 2638aa03a5 from January.
2021-04-26Remove denort optimization (#10350)Ryan Dahl
denort is an optimization to "deno compile" to produce slightly smaller output. It's a decent idea, but causes a lot of negative side-effects: - Deno's link time is a source of constant agony both locally and in CI, denort doubles link time. - The release process is a long and arduous undertaking with many manual steps. denort necessitates an additional manual zip + upload from M1 apple computers. - The "deno compile" interface is complicated with the "--lite" option. This is confusing for uses ("why wouldn't you want lite?"). The benefits of this feature do not outweigh the negatives. We must find a different approach to optimizing "deno compile" output.
2021-04-09feat(lsp): add registry import auto-complete (#9934)Kitson Kelly
2021-03-26remove macro_use (#9884)Ryan Dahl
2021-03-25upgrade: Rust 1.51.0 (#9895)Yusuke Tanaka
2021-02-24test: Fix --reload in integration_tests (#9345)Yosi Pramajaya
This commit removes redundant "--reload" args because "util::deno_cmd" recreates "DENO_DIR". This commit also fixes ta_reload in integration tests to actually test reload.
2021-02-21fix(op_crates/websocket): default to close code 1005 (#9339)DjDeveloper
Currently if WebSocket is closed without code, it will error while on Chrome it would close with code 1005 instead. Co-authored-by: crowlKats <13135287+crowlKats@users.noreply.github.com>
2021-02-16feat(cli): support auth tokens for accessing private modules (#9508)Kitson Kelly
Closes #5239
2021-02-02chore: remove std directory (#9361)Casper Beyer
This removes the std folder from the tree. Various parts of the tests are pretty tightly dependent on std (47 direct imports and 75 indirect imports, not counting the cli tests that use them as fixtures) so I've added std as a submodule for now.
2021-02-01refactor: Reorganise integration tests (#9282)Bartek Iwańczuk
This commit reorganises cli/tests/integration_tests.rs. All integration tests had been moved into integration module, which allows to run only integration tests by "cargo test integration". Additionally some tests were further grouped under nested modules like "inspector", "file_watcher" or "repl".
2021-01-19feat(unstable): add Deno.resolveDns API (#8790)Yusuke Tanaka