aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/websocket-server.test.ts (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-01-11[Bun.serve] Introduce publishToSelf boolean on websocket: {} config objectGravatar Jarred SUmner 1-5/+47
2023-01-04implement `expect().toThrow()` (#1727)Gravatar Alex Lam S.L 1-96/+76
- fix bugs in `JSBufferList` - add tests
2023-01-02fix double `resolve()` in test (#1707)Gravatar Alex Lam S.L 1-6/+6
also clean up `reject()` values
2022-12-02make the test run fasterGravatar Jarred Sumner 1-13/+13
2022-11-09Update websocket-server.test.tsGravatar Jarred Sumner 1-1/+2
2022-11-09Implement Server.publish()Gravatar Jarred Sumner 1-0/+36
Fixes https://github.com/oven-sh/bun/issues/1417
2022-11-09Add bun-types, add typechecking, add `child_process` types (#1475)Gravatar Colin McDonnell 1-29/+28
* Add bun-types to packages * Improve typing * Fix types in tests * Fix dts tests * Run formatter * Fix all type errors * Add strict mode, fix type errors * Add ffi changes * Move workflows to root * Add workflows * Remove labeler * Add child_process types * Fix synthetic defaults issue * Remove docs * Move scripts * Run prettier * Include examples in typechecking * captureStackTrace types * moved captureStackTrace types to globals * Address reviews Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
2022-10-19Fix calling `ws.publish` inside `close` when other clients are connectedGravatar Jarred Sumner 1-0/+63
This fixes https://github.com/oven-sh/bun/issues/1357
2022-10-19Allow returning a Response object when upgradingGravatar Jarred Sumner 1-0/+116
2022-10-18Fix testGravatar Jarred Sumner 1-28/+38
2022-10-17Fix error handlerGravatar Jarred Sumner 1-0/+40
2022-10-17Update websocket-server.test.tsGravatar Jarred Sumner 1-0/+41
2022-10-17Implement `sendText`, `sendBinary`, `publishText`, `publishBinary`Gravatar Jarred Sumner 1-4/+112
2022-10-17Fix headers + add testGravatar Jarred Sumner 1-5/+16
2022-10-17More testsGravatar Jarred Sumner 1-3/+293
2022-10-17Redo WebSocket apiGravatar Jarred Sumner 1-10/+59
2022-10-16Changed apiGravatar Jarred Sumner 1-4/+64
2022-10-15Add a simple test for websocket serverGravatar Jarred Sumner 1-0/+114