summaryrefslogtreecommitdiff
path: root/cli/tests/unit
AgeCommit message (Collapse)Author
2020-07-11feat(Deno.inspect): Add sorted, trailingComma, compact and iterableLimit to ↵Nayeem Rahman
InspectOptions (#6591)
2020-07-10feat: add performance user timing APIs (#6421)Kitson Kelly
2020-07-10fix(URL): Implement spec-compliant host parsing (#6689)Nayeem Rahman
2020-07-10fix(cli/buffer): allow Buffer to store MAX_SIZE bytes (#6570)Marcos Casagrande
2020-07-10feat(unstable): add Deno.consoleSize (#6520)Sebastien Filion
2020-07-09feat: move unstable Deno.permissions to navigator.permissions (#6244)Kitson Kelly
2020-07-08feat(unstable): Deno.ppid (#6539)uki00a
2020-07-08feat(cli): Add WriteFileOptions to writeTextFile & writeTextFileSync (#6280)Marcos Casagrande
2020-07-07perf(cli/body): improve .arrayBuffer() speed (#6669)Marcos Casagrande
2020-07-07feat(test): Add support for regex in filter flag (#6343)Sebastien Filion
Currently, the documentation makes it sound like the test subcommand's filter flag could accept some kind of pattern matching value like a glob or a regex, although the function "createFilterFn" accepts a regex as an argument, there's no way to pass an actual regex value from the CLI. This commit makes it possible to pass a string that could be cast as regex when string matches "^/.*/$". With this change, a user can use the filter flag as follow: deno test --filter "/test-.+/" Also tested that `\` get escaped properly, on MacOS at least, and this is also a valid flag: deno test --filter "/test-\d+/"
2020-07-06feat: Deno.chown() make uid, gid args optional (#4612)dubiousjim
2020-07-05fix(cli/fetch): response constructor default properties (#6650)Marcos Casagrande
2020-07-04Update timers to ignore Date Override (#6552)Kyle June
2020-07-04chore: port http_server.py to rust (#6364)Ryan Dahl
2020-07-04test(cli): enable realpath symlink tests on Windows (#6627)Casper Beyer
2020-07-01upgrade: swc_ecma_visit, dprint, deno_lint (#6580)Bartek Iwańczuk
2020-06-28fix(cli/body): Maximum call stack size exceeded error (#6537)Marcos Casagrande
2020-06-27fix(cli): Buffer.bytes() ArrayBuffer size (#6511)Marcos Casagrande
2020-06-26feat(unstable): add Deno.fdatasyncSync and fdatasync (#6403)Casper Beyer
2020-06-26fix(cli/js/web/url): Support UNC paths on Windows (#6418)Nayeem Rahman
2020-06-26fix(cli): strings shouldn't be interpreted as file URLs (#6412)Casper Beyer
2020-06-25remove duplicate identifier (#6483)Ali Hasani
2020-06-25fix: panic when process stdio rid is 0 or invalid (#6405)Luca Casonato
2020-06-25Fix readLinkSync and readLink tests on Windows (#6463)Casper Beyer
2020-06-25Remove stale comment referring to deleted code (#6462)Casper Beyer
2020-06-25refactor(cli/tests/unit) to use assertThrows (#6459)Casper Beyer
2020-06-24fix(cli/js/web/console): Improve string quoting behaviour (#6457)Nayeem Rahman
2020-06-23fix(cli/web): Support URLSearchParam as Body (#6416)Chris Couzens
The following used to fail in Deno despite working in the browser: ```javascript new Request('http://localhost/', {method: 'POST', body: new URLSearchParams({hello: 'world'})}).text().then(console.log) ```
2020-06-22feat(unstable): add Deno.fstatSync and fstat (#6425)Casper Beyer
2020-06-21feat(unstable): add Deno.fsyncSync and fsync (#6411)Casper Beyer
2020-06-20Remove Deno.dir and dirs dependency (#6385)Ryan Dahl
2020-06-20feat(unstable): add Deno.ftruncate and ftruncateSync (#6243)Casper Beyer
2020-06-19build: lint cli/tests/unit using deno lint (#6327)Alan Gou
2020-06-18fix: decode path properly on win32 (#6351)River
2020-06-15unixpacket should also return byte length on send (#6291)Peter Evers
2020-06-13fix: DatagramConn.send should return bytes sent (#6265)Kermit Xuan
2020-06-12refactor: Don't destructure the Deno namespace (#6268)Nayeem Rahman
2020-06-12feat: Add TestDefinition::only (#5793)Nayeem Rahman
2020-06-12Revert "feat: add Deno.osName()" (#6261)Ryan Dahl
Deno.build.os provides the same functionality This reverts commit 6ccf9037a6b36c81ea0e6ac12d0e2dbd793f6114.
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-06-11feat: add Deno.osName() (#5714)Rubin Bhandari
2020-06-11feat: URL support in Deno filesystem methods (#5990)River
2020-06-10fix(URL): IPv6 hostname support (#5766)Josh Byrnes
2020-06-10fix: Remove try-catch from Buffer.readFrom, readFromSync (#6161)Casper Beyer
2020-06-10fix udp BorrowMutError (#6221)Ryan Dahl
2020-06-10fix(cli/js/process): Always return a code in ProcessStatus (#5244)Nayeem Rahman
2020-06-09fix: Deno.readSync on stdin (#6126)Casper Beyer
Currently sync operations on stdin are failing because tokio::Stdin cannot be converted to a std::File. This commit replaces tokio::stdin with a raw file descriptor wrapped in a std::fs::File which can be converted to a tokio::File and back again making the synchronous version of op_read actually work.
2020-06-09feat(cli): Add Deno.env.delete() (#5859)Tuan Le
2020-06-09fix(cli/js/process): Strengthen socket types based on pipes (#4836)Nayeem Rahman