summaryrefslogtreecommitdiff
path: root/std/examples/chat/server_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-10update copyright to 2021 (#9081)Ryan Dahl
2020-11-24feat(cli): update to TypeScript 4.1 (#7573)Kitson Kelly
2020-11-20test(std): make test output less noisy (#8445)Bartek Iwańczuk
This commit makes output of std/ tests less noisy by passing "--quiet" flag to Deno subprocesses run as part of test suite.
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-09-09test(std/examples): make tests runnable from any directory (#7399)Casper Beyer
2020-07-26test(std): remove unstable from multiple tests (#6882)Trivikram Kamat
2020-06-12refactor: Don't destructure the Deno namespace (#6268)Nayeem Rahman
2020-06-09fix(cli/js/process): Strengthen socket types based on pipes (#4836)Nayeem Rahman
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-04BREAKING: make WebSocket directly implement AsyncIterable (#5044) (#5045)Andrey Trebler
2020-05-04BREAKING: remove CLI 'deno script.ts' hack (#5026)Bartek Iwańczuk
This PR removes the hack in CLI that allows to run scripts with shorthand: deno script.ts. Removing this functionality because it hacks around short-comings of clap our CLI parser. We agree that this shorthand syntax is desirable, but it needs to be rethinked and reimplemented. For 1.0 we should go with conservative approach that is correct.
2020-04-30Unstable methods should not appear in runtime or d.ts (#4957)Luca Casonato
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-04-30fix(std): use fromFileUrl (#5005)Ali Hasani
2020-04-28BREAKING: Remove Deno.EOF, use null instead (#4953)Nayeem Rahman
2020-04-28BREAKING: Use LLVM target triple for Deno.build (#4948)Ryan Dahl
Deno.build.os values have changed to correspond to standard LLVM target triples "win" -> "windows" "mac" -> "darwin"
2020-04-10BREAKING: Make fetch API more web compatible (#4687)Ryan Dahl
- Removes the __fetch namespace from `deno types` - Response.redirect should be a static. - Response.body should not be AsyncIterable. - Disables the deno_proxy benchmark - Makes std/examples/curl.ts buffer the body before printing to stdout
2020-03-28Update to Prettier 2 and use ES Private Fields (#4498)Kitson Kelly
2020-03-24Revert "avoid using same port number for test (#4147)"Bartek Iwańczuk
Ref #4467 This reverts commit 60cee4f045778777a16b6fffd6d5b9a1400d7246.
2020-03-21BREAKING CHANGE Rename Deno.run's args to cmd (#4444)Akshat Agarwal
This is to avoid confusion with Deno.args which does not include the executable to be run.
2020-03-21avoid using same port number for test (#4147)Yusuke Sakurai
2020-03-20Add require-await lint rule (#4401)Samrith Shankar
2020-03-19refactor: rename Deno.TestDefinition.skip to ignore (#4400)Bartek Iwańczuk
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-15refactor(std): Uncomment disabled tests, use skip option (#4378)Nayeem Rahman
2020-02-24disable std/examples/chat tests for windows (#4109)Bartek Iwańczuk
2020-02-24fix(std/examples): add tests for examples (#4094)uki00a
2020-02-22Added browser chat example (#4022)Yusuke Sakurai
2019-10-09remove std submoduleRyan Dahl
2019-10-04Move deno_std to a more convenient location. (#3057)Ryan Dahl
js/deps/https/deno.land/std -> js/std