summaryrefslogtreecommitdiff
path: root/cli/tests/unit/os_test.ts
AgeCommit message (Collapse)Author
2022-09-21fix(runtime): better error message with Deno.env.get/set (#15966)Yoshiya Hinosawa
2022-07-18BREAKING(unstable): Improve Deno.spawn() stdio API (#14919)Nayeem Rahman
- "SpawnOutput" extends "ChildStatus" instead of composing it - "SpawnOutput::stdout", "SpawnOutput::stderr", "Child::stdin", "Child::stdout" and "Child::stderr" are no longer optional, instead made them getters that throw at runtime if that stream wasn't set to "piped". - Remove the complicated "<T extends SpawnOptions = SpawnOptions>" which we currently need to give proper type hints for the availability of these fields. Their typings for these would get increasingly complex if it became dependent on more options (e.g. "SpawnOptions::pty" which if set should make the stdio streams unavailable)
2022-05-31feat(unstable): add Deno.getGid (#14528)James Bradlee
2022-05-18refactor: use spawn API across codebase (#14414)Leo Kettmeir
2022-01-31feat(unstable): add Deno.getUid (#13496)Yoshiya Hinosawa
2022-01-20chore: update copyright year (#13434)Yoshiya Hinosawa
2021-11-23refactor: remove "unitTest" wrapper from cli/tests/unit (#12750)Bartek Iwańczuk
2021-09-23test(cli): align unit test permissions with runtime test permissions (#12189)Casper Beyer
2021-08-05refactor(cli/tests): remove unnecessary void return types (#11577)Leo K
2021-07-29feat(runtime): implement navigator.hardwareConcurrency (#11448)Divy Srivastava
This commit implements "navigator.hardwareConcurrency" API, which supersedes "Deno.systemCpuInfo()" API (which was removed in this commit).
2021-03-17refactor: clean up permission handling (#9367)crowlKats
2021-02-23fix: panic caused by Deno.env.set("", "") (#9583)Kohei Ueno
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2020-10-26feat(unstable): add Deno.systemCpuInfo() (#7774)Elias Sjögreen
2020-09-14test(cli/tests/unit): Enable color for js_unit_tests (#7443)Nayeem Rahman
2020-09-10feat(unstable): Add Deno.systemMemoryInfo() (#7350)Akshat Agarwal
Co-authored-by: marcopacini <pacinim88@gmail.com> Co-authored-by: Casper Beyer <caspervonb@pm.me>
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-07-08feat(unstable): Deno.ppid (#6539)uki00a
2020-06-25refactor(cli/tests/unit) to use assertThrows (#6459)Casper Beyer
2020-06-20Remove Deno.dir and dirs dependency (#6385)Ryan Dahl
2020-06-12Revert "feat: add Deno.osName()" (#6261)Ryan Dahl
Deno.build.os provides the same functionality This reverts commit 6ccf9037a6b36c81ea0e6ac12d0e2dbd793f6114.
2020-06-11feat: add Deno.osName() (#5714)Rubin Bhandari
2020-06-09feat(cli): Add Deno.env.delete() (#5859)Tuan Le
2020-05-29fix(cli/permissions): Fix CWD and exec path leaks (#5642)Nayeem Rahman
2020-05-20move js unit tests to cli/tests (#5678)Ryan Dahl