summaryrefslogtreecommitdiff
path: root/cli/tests/integration/repl_tests.rs
AgeCommit message (Collapse)Author
2023-03-16fix(repl): Hide indexable properties in tab completion (#18141)Roy Li
Closes #17831. This change hides the indices of any indexed collection when triggering tab completion for object properties in the REPL. An example is shown in the issue, but for verbosity here is another. Before the change: ``` > const arr = new Uint8ClampedArray([1, 2, 3]) undefined > arr. 0 map 1 reverse 2 reduce ... ``` After the change: ``` > const arr = new Uint8ClampedArray([1, 2, 3]) undefined > arr. constructor reduce BYTES_PER_ELEMENT reduceRight buffer set ... ``` Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2023-03-17feat(repl): add `DENO_REPL_HISTORY` to change history file path (#18047)Nick Hanley
2023-03-15fix(repl): do not panic deleting `Deno` or deleting all its properties (#18211)David Sherret
Closes #18194 Closes #12092
2023-03-07chore(tests): use temp dir in test `missing_deno_dir` (#18057)Nick Hanley
Fixes #18056
2023-02-09refactor: deno_graph 0.43 upgrade (#17692)David Sherret
2023-02-05fix(ext/console): log class for class constructor (#17615)Gasman
Co-authored-by: tannal <tannal.cn@gmail.com>
2023-02-01fix(repl): handle @types/node not being cached in the repl (#17617)David Sherret
Closes #17599
2023-01-27chore: upgrade to Rust 1.67 (#17548)David Sherret
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-01-14chore: use rustfmt imports_granularity option (#17421)Divy Srivastava
Closes https://github.com/denoland/deno/issues/2699 Closes https://github.com/denoland/deno/issues/2347 Uses unstable rustfmt features. Since dprint invokes `rustfmt` we do not need to switch the cargo toolchain to nightly. Do we care about formatting stability of our codebase across Rust versions? (I don't)
2023-01-13tests: move integration tests to a single module (#17380)Bartek Iwańczuk
Effectively reverts changes done in https://github.com/denoland/deno/pull/16816
2022-11-26tests: move integration tests to separate modules (#16816)Bartek Iwańczuk
2022-09-19refactor: move out test files from root testdata directory into sub ↵David Sherret
directories (#15949)
2022-09-02fix(cli/repl): await Promise.any([])... (#15623)Jason
2022-09-02fix(repl): don't terminate on unhandled error events (#15548)Nayeem Rahman
2022-07-13chore: fix pty_complete_imports test on linux/mac (#15191)David Sherret
2022-07-12fix(repl): do not panic for import completions when the import specifier is ↵David Sherret
empty (#15177)
2022-07-12chore: fix repl::pty_emoji test on linux (#15166)David Sherret
2022-06-21chore(test_util): add new string assertion macros (#14928)David Sherret
2022-06-20fix(repl): accept tab when previous character is whitespace (#14898)sigmaSd
2022-05-20refactor: upgrade to deno_ast 0.15 (#14680)David Sherret
2022-05-11fix: stdout and stderr encoding on Windows (#14559)David Sherret
2022-04-26chore: fix pty_complete_imports test (#14400)David Sherret
2022-04-22chore(tests): fix pty_clear_function on Windows (#14364)David Sherret
2022-04-20feat(repl): add global clear() function (#14332)Colin Ihrig
This commit adds a clear() function in the REPL which works similar to console.clear().
2022-04-20feat(repl): add "--eval-file" flag to execute a script file on startup (#14247)Naju Mancheril
This commit adds support for "--eval-file" in "deno repl" subcommand. This flag can be used to pass paths or URLs to files, that will be executed on REPL startup. All files will be executed in the same context as the REPL (ie. as "plain old scripts", not ES modules), sharing the global scope. This feature allows to implement custom REPLs on top of Deno's REPL.
2022-04-08fix: upgrade to swc_ecmascript 0.143 (#14238)David Sherret
2022-03-02fix(repl): fix null eval result (#13804)Yoshiya Hinosawa
Co-authored-by: Satya Rohith <me@satyarohith.com>
2022-02-07refactor: factor out CDP message types (#13551)Leo Kettmeir
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2021-12-21chore(tests): remove pty_complete_imports test for deleting the cwd (#13164)David Sherret
2021-12-15feat: REPL import specifier auto-completions (#13078)David Sherret
2021-12-08fix: upgrade swc fixing many bundling and `--no-check` bugs (#13025)David Sherret
2021-10-01fix(repl): avoid panic when assigned to globalThis (#12273)Yoshiya Hinosawa
2021-09-20chore(tests): windows pty tests (#12091)David Sherret
2021-09-07refactor(lsp): use deno_ast and cache swc ASTs (#11780)David Sherret
2021-08-11chore: move test files to testdata directory (#11601)David Sherret
2021-08-06feat(repl): add --eval flag for evaluating code when the repl starts (#11590)David Sherret
2021-08-06feat(repl): support exports in the REPL (#11592)David Sherret
2021-07-19fix(repl): output error without hanging when input is invalid (#11426)Ayato Tokubi
2021-07-14chore(repl): fix integration test input to not throw parse errors (#11401)Ayato Tokubi
2021-07-08feat(repl): support autocomplete on declarations containing a primitive (#11325)David Sherret
2021-07-06fix(repl): do not panic when Deno.inspect throws (#11292)Casper Beyer
2021-06-27chore: split up integration_tests.rs into separate files (#11131)David Sherret