summaryrefslogtreecommitdiff
path: root/cli/tests/unit/unit_tests.ts
AgeCommit message (Collapse)Author
2021-03-01feat: WebGPU API (#7977)crowlKats
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-01-18fix(op_crate/fetch): add back ReadableStream.getIterator and deprecate (#9146)Kitson Kelly
2021-01-15refactor(op_crate/fetch): align streams to spec (#9103)Kitson Kelly
Fixes #8814
2021-01-14fix: align DOMException API to the spec and add web platform testing of it. ↵Yoshiya Hinosawa
(#9106) * fix: align DOMException API to the spec * test: fix test case 070_location * test(DOMException): disable "does not inherit from Error: class-side" test of WPT * test: remove test cases in deno codebase * docs: add note about skipped test
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2020-11-25fix(websocket): Fix PermissionDenied error being caught in constructor (#8402)crowlKats
2020-10-08fix: update worker types to better align to lib.dom.d.ts (#7843)Kitson Kelly
2020-09-21fix: Response.arrayBuffer() doesn't return promise (#7618)Luca Casonato
2020-08-11feat(web): FileReader API (#6673)Paul Thompson
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-06-21feat(unstable): add Deno.fsyncSync and fsync (#6411)Casper Beyer
2020-06-11feat: URL support in Deno filesystem methods (#5990)River
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-05-20fix: streams hwm validation (#5681)Marcos Casagrande
2020-05-20move js unit tests to cli/tests (#5678)Ryan Dahl