summaryrefslogtreecommitdiff
path: root/std/ws/test.ts
AgeCommit message (Collapse)Author
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