summaryrefslogtreecommitdiff
path: root/cli/tests/unit/truncate_test.ts
AgeCommit message (Collapse)Author
2023-01-02chore: update copyright year to 2023 (#17247)David Sherret
Yearly tradition of creating extra noise in git.
2022-01-20chore: update copyright year (#13434)Yoshiya Hinosawa
2021-11-23refactor: remove "unitTest" wrapper from cli/tests/unit (#12750)Bartek Iwańczuk
2021-10-11feat(runtime): improve error messages of runtime fs (#11984)Feng Yu
This commit annotates errors returned from FS Deno APIs to include paths that were passed to the API calls. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-09-23test(cli): align unit test permissions with runtime test permissions (#12189)Casper Beyer
2021-09-22chore: replace calls to assertThrowsAsync with assertRejects (#12176)Casper Beyer
2021-08-05refactor(cli/tests): remove unnecessary void return types (#11577)Leo K
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2020-09-27feat(fmt): Sort named import and export specifiers (#7711)David Sherret
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-06-25refactor(cli/tests/unit) to use assertThrows (#6459)Casper Beyer
2020-06-20feat(unstable): add Deno.ftruncate and ftruncateSync (#6243)Casper Beyer
2020-06-12improve truncate tests (#6251)Casper Beyer
2020-06-12fix(cli/js): broken truncate permission tests (#6249)Casper Beyer
The tests for testing that `Deno.truncateSync` and `Deno.truncate` require write permissions seem to not call the functions they are testing *at all* and are calling `Deno.mkdir` and `Deno.mkdirSync` instead. This commit replaces those calls with calls to `Deno.truncateSync` and `Deno.truncate` respectively.
2020-05-20move js unit tests to cli/tests (#5678)Ryan Dahl