summaryrefslogtreecommitdiff
path: root/test_util/src
AgeCommit message (Collapse)Author
2023-01-30Revert "fix(watch): preserve `ProcState::file_fetcher` between restarts ↵Bartek Iwańczuk
(#15466) (#17591) This reverts commit 3545bff678f20c3fdf17fe6b26f96cf1b74f917c.
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-13chore: add `copyright_checker` tool and add the missing copyright (#17285)Yiyu Lin
2023-01-10fix(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-02chore: update copyright year to 2023 (#17247)David Sherret
Yearly tradition of creating extra noise in git.
2022-12-19chore(test): report correct cwd when running tests via itest macro (#17132)Kamil Ogórek
2022-12-19chore(test_util): use pty2 instead of pty (#17131)Divy Srivastava
Fixes https://github.com/denoland/deno/issues/484 Removes dependency on winapi 0.2.x versions.
2022-12-07feat(npm): add support for `NPM_CONFIG_REGISTRY` (#16980)David Sherret
2022-11-30fix(lsp): analyze fs dependencies of dependencies to find npm package ↵David Sherret
requirements (#16866) Closes #16867
2022-11-28fix(npm): allow to inspect npm modules with --inspect-brk (#16841)Bartek Iwańczuk
2022-11-18chore: use Rust 1.65.0 (#16688)Aaron O'Mullan
2022-10-21feat(unstable/npm): initial type checking of npm specifiers (#16332)David Sherret
2022-10-16fix(cli/bench): skip strace table border (#16310)Marcos Casagrande
It crashes due to the table border output from `strace`, ``` % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- # this is skipped correctly 61.27 6.012053 678 8860 637 futex 0.00 0.000000 0 4 geteuid ------ ----------- ----------- --------- --------- ---------------- # this causes the crash 100.00 11.732230 25552 1205 total ``` It's flaky because that line is not always skipped from the output, for some reason that I've yet to find out.
2022-10-05feat(npm): implement Node API (#13633)Divy Srivastava
This PR implements the NAPI for loading native modules into Deno. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: DjDeveloper <43033058+DjDeveloperr@users.noreply.github.com> Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2022-09-22feat(npm): add flag for creating and resolving npm packages to a local ↵David Sherret
node_modules folder (#15971)
2022-09-19refactor: move out test files from root testdata directory into sub ↵David Sherret
directories (#15949)
2022-09-02fix(npm): respect `latest` dist tag for getting current version (#15746)David Sherret
2022-08-26chore(npm): add test for esm npm binary package (#15609)David Sherret
2022-08-25fix: avoid global declaration collisions in cjs (#15608)David Sherret
* Use a default stack size * 2 in debug for Windows because swc using so much stack size. We should look into this more later though.
2022-08-23feat: binary npm commands (#15542)David Sherret
2022-08-23fix(cache): do not attempt to emit non-emitable files (#15562)David Sherret
2022-08-22perf: cache swc dependency analysis and don't hold onto `ParsedSource`s in ↵David Sherret
memory (#15502)
2022-08-21chore: use Rust 1.63.0 (#15464)Mathias Lafeldt
2022-08-20feat(unstable): initial support for npm specifiers (#15484)David Sherret
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-07-15chore: fix Windows specific clippy errors (#15212)David Sherret
2022-06-29chore(cli/bench): Add bun HTTP server (#15004)Divy Srivastava
2022-06-21chore(test_util): add new string assertion macros (#14928)David Sherret
2022-06-14feat(vendor): support using an existing import map (#14836)David Sherret
2022-05-23fix: deno task should actually use current exe for `deno` command (#14705)David Sherret
2022-05-10chore: fix flaky steps_output_within - part 2 (#14562)David Sherret
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.