summaryrefslogtreecommitdiff
path: root/std/ws/test.ts
AgeCommit message (Collapse)Author
2021-02-02chore: remove std directory (#9361)Casper Beyer
This removes the std folder from the tree. Various parts of the tests are pretty tightly dependent on std (47 direct imports and 75 indirect imports, not counting the cli tests that use them as fixtures) so I've added std as a submodule for now.
2021-01-29refactor: IO resource types, fix concurrent read/write and graceful close ↵Bert Belder
(#9118) Fixes: 9032.
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2020-12-06BREAKING(std/bytes): Adjust APIs based on std-wg discussion (#8612)Yosi Pramajaya
2020-11-26feat(std/ws): protocol & version support (#8505)crowlKats
Co-authored-by: Tom Wieland <tom.wieland@gmail.com>
2020-09-27feat(fmt): Sort named import and export specifiers (#7711)David Sherret
2020-09-09chore(std): remove std/ws connect method (#7403)Luca Casonato
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-06-12refactor: Don't destructure the Deno namespace (#6268)Nayeem Rahman
2020-06-04doc: Improved ws example and README (#5636)Yusuke Sakurai
2020-05-09BREAKING(std): reorganization (#5087)Nayeem Rahman
* Prepend underscores to private modules * Remove collectUint8Arrays() It would be a misuse of Deno.iter()'s result. * Move std/_util/async.ts to std/async * Move std/util/sha*.ts to std/hash
2020-05-08revert PR #5002 (#5141)Andrey Trebler
2020-05-04BREAKING: make WebSocket directly implement AsyncIterable (#5044) (#5045)Andrey Trebler
2020-04-30feat: Make WebSocket Reader/Writer (#5001) (#5002)Andrey Trebler
2020-04-29BREAKING: remove custom implementation of Deno.Buffer.toString() (#4992)Bartek Iwańczuk
Keep in mind Buffer.toString() still exists, but returns [object Object]. Reason for removal of Buffer.toString() was that it implicitly used TextDecoder with fixed "utf-8" encoding and no way to customize the encoding.
2020-04-28Remove Conn.closeRead (#4970)Ryan Dahl
2020-04-28BREAKING: Remove Deno.EOF, use null instead (#4953)Nayeem Rahman
2020-04-01Move encode, decode helpers to /std/encoding/utf8.ts, delete /std/strings/ ↵Ryan Dahl
(#4565) also removes std/encoding/mod.ts and std/archive/mod.ts which are useless.
2020-03-28Update to Prettier 2 and use ES Private Fields (#4498)Kitson Kelly
2020-03-20Add require-await lint rule (#4401)Samrith Shankar
2020-03-18feat: Deno.test() sanitizes ops and resources (#4399)Bartek Iwańczuk
This PR brings assertOps and assertResources sanitizers to Deno.test() API. assertOps checks that test doesn't leak async ops, ie. there are no unresolved promises originating from Deno APIs. Enabled by default, can be disabled using Deno.TestDefinition.disableOpSanitizer. assertResources checks that test doesn't leak resources, ie. all resources used in test are closed. For example; if a file is opened during a test case it must be explicitly closed before test case finishes. It's most useful for asynchronous generators. Enabled by default, can be disabled using Deno.TestDefinition.disableResourceSanitizer. We've used those sanitizers in internal runtime tests and it proved very useful in surfacing incorrect tests which resulted in interference between the tests. All tests have been sanitized. Closes #4208
2020-03-13fix(std): Use Deno.errors where possible. (#4356)Oliver Lenehan
2020-02-28[std/ws] provide default close code for ws.close() (#4172)Yusuke Sakurai
2020-02-24fix: createSecKey logic (#4063)Suguru Motegi
2020-02-23fix: [ws] sock shouldn't throw eof error when failed to read frame (#4083)Yusuke Sakurai
2020-02-11refactor: rewrite tests in std/ to use Deno.test (#3930)Bartek Iwańczuk
2020-02-06fix: make WebSocket.send() exclusive (#3885)Yusuke Sakurai
2020-01-04Fix ws handshake with correctly empty search string (#3587)Dreamacro
2020-01-02Happy new year! (#3578)Ry Dahl
2019-10-09Move everything into std subdirRyan Dahl