aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-10-09Rename `resposne.file.test.js` -> `bun-write.test.js` + add some large file ↵Gravatar Jarred Sumner 1-25/+81
tests
2022-10-09Start to add tests for spawnGravatar Jarred Sumner 1-0/+89
2022-10-09Add a test for server.reload()Gravatar Jarred Sumner 1-17/+35
2022-10-09Fix navigator.userAgent testGravatar Jarred Sumner 1-2/+2
2022-10-09Fix SQLite testGravatar Jarred Sumner 1-1/+1
2022-10-09Add a test for `Bun.version`Gravatar Jarred Sumner 1-0/+6
2022-10-09Add a test for not logging .envGravatar Jarred Sumner 1-0/+60
2022-10-08Fix https://github.com/oven-sh/bun/issues/1263Gravatar Jarred Sumner 1-7/+28
What happened: when moving to uSockets for the http client, I forgot to call `SSL_set_tlsext_host_name` and uSockets apparently doesn't do that
2022-10-06Fix Buffer.toJSON()Gravatar Jarred Sumner 1-0/+9
2022-10-05We need to explicitly flush nowGravatar Jarred Sumner 1-1/+1
2022-10-05Add a test for simultaneous requestsGravatar Jarred Sumner 1-0/+42
2022-10-05fix: console.log handle circular correctly (#1293)Gravatar zhiyuang 1-0/+2
2022-10-02Fix test failuresGravatar Jarred Sumner 3-3/+3
2022-10-01Fix `setTimeout(0)`, improve test coverage slightly, reduce memory usage of ↵Gravatar Jarred Sumner 1-0/+40
timers
2022-10-01Increase test coverage for request body streamingGravatar Jarred Sumner 1-76/+192
There is still one memory issue to address
2022-09-30Make setTimeout/setInterval more reliableGravatar Jarred Sumner 1-0/+4
2022-09-30Improve test coverage for Request body streaming!Gravatar Jarred Sumner 1-59/+288
2022-09-30more gc in fs testGravatar Jarred Sumner 2-2/+13
2022-09-30Create test_scope_debug.tsGravatar Jarred Sumner 1-0/+62
2022-09-28Add some tests for request body streamingGravatar Jarred Sumner 3-7/+150
Need to fix an off-by-one error with Blob it seems
2022-09-28Support a `default` object in CommonJS wrapperGravatar Jarred Sumner 1-9/+11
Fixes https://github.com/oven-sh/bun/issues/1284 Related to https://github.com/oven-sh/bun/issues/1285
2022-09-26[Web Streams] Add `body` to `Response` and `Request` (#1255)Gravatar Jarred Sumner 1-0/+28
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-09-25wipGravatar Jarred Sumner 1-0/+129
2022-09-24test: Promisify basic tests (#1018)Gravatar Albert Putra Purnama 2-0/+299
* Promisify basic tests * Add License header from node * Add tests to complete existing promisify parity with node * Update expected error message from nodejs test
2022-09-23Implement `Bun.which`Gravatar Jarred Sumner 1-0/+52
2022-09-22Faster `Blob` + begin to implement `FileSink`Gravatar Jarred Sumner 1-0/+1
2022-09-22Add epoll to list of syscalls that can failGravatar Jarred Sumner 1-28/+57
2022-09-221 event loop per thread. Instead of 3.Gravatar Jarred Sumner 3-45/+81
uWebSockets and uSockets will need to be upgraded to match the changes. Previously: - Bun had a separate kqueue/eventfd just for async wakeups. - Bun had a separate kqueue/epoll just for reading files non-blocking in the same thread This commit unifies it into one event loop per thread
2022-09-21Fix `preact` & other "classic" jsx transforms, most likelyGravatar Jarred Sumner 1-0/+49
2022-09-20Add `navigator.userAgent` , `navigator.hardwareConcurrency`Gravatar Jarred Sumner 1-0/+8
2022-09-19Implement `imports` in package.json (`#foo` imports)Gravatar Jarred Sumner 2-20/+102
Fixes https://github.com/oven-sh/bun/issues/478 Fixes https://github.com/oven-sh/bun/issues/234 Fixes https://github.com/oven-sh/bun/issues/822
2022-09-16Fix `origin` missing `protocol` in `URL`Gravatar Jarred Sumner 1-0/+9
Fixes https://github.com/oven-sh/bun/issues/1244
2022-09-16Make new HTTP client more stableGravatar Jarred Sumner 4-46/+89
2022-09-145x faster crypto.randomValues()Gravatar Jarred Sumner 1-6/+22
2022-09-14Make `crypto.getRandomValues()` faster + fix > 1 byte/element typed arraysGravatar Jarred Sumner 1-1/+37
Fix crypto.getRandomValues() with > 1 byte element typed arrays Fixes https://github.com/oven-sh/bun/issues/1237
2022-09-11Add testGravatar Jarred Sumner 1-0/+8
2022-09-09[node:fs] Fix readFileSync on non-regular filesGravatar Jarred Sumner 1-0/+12
Fixes https://github.com/oven-sh/bun/issues/1220
2022-09-09[bun:ffi] Add `f32`, `f64`, `i64`, u64` to `read`Gravatar Jarred Sumner 1-2/+11
2022-09-08Last commit was missing some codeGravatar Jarred Sumner 1-23/+22
2022-09-08[bun:ffi] Implement `read.{u8,i8,i16,i32,u16,u32,ptr,intptr}`Gravatar Jarred Sumner 1-0/+23
`read` in `bun:ffi` lets you read data from a pointer without creating a new DataView/ArrayBufferView ``` import {read} from 'bun:ffi'; expect(read.i8(ptr_, i)).toBe(view.getInt8(i, true)); expect(read.i16(ptr_, i)).toBe(view.getInt16(i, true)); expect(read.i32(ptr_, i)).toBe(view.getInt32(i, true)); expect(read.u8(ptr_, i)).toBe(view.getUint8(i, true)); expect(read.u16(ptr_, i)).toBe(view.getUint16(i, true)); expect(read.u32(ptr_, i)).toBe(view.getUint32(i, true)); } ```
2022-09-08Make some more globals modifiableGravatar Jarred Sumner 1-1/+4
2022-09-07More tests for Bun.writeGravatar Jarred Sumner 1-0/+26
2022-09-07Fix flaky testsGravatar Jarred Sumner 1-7/+15
2022-09-06Fix missing file in SQL-raw testGravatar Jarred Sumner 2-8/+9
2022-09-06workaround test failureGravatar Jarred Sumner 1-31/+33
2022-09-05Support async `onLoad` callbacks in `Bun.plugin`Gravatar Jarred Sumner 3-33/+174
2022-09-04Some testsGravatar Jarred Sumner 1-0/+19
2022-09-03Fix `createRequire()` in `node:module`Gravatar Jarred Sumner 1-0/+11
Fixes https://github.com/oven-sh/bun/issues/831 Fixes https://github.com/oven-sh/bun/issues/453
2022-09-03Plugin API (#1199)Gravatar Jarred Sumner 3-0/+222
* Plugin API * Fix the bugs * Implement `"object"` loader Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-09-03fixed is_export and added test cases (#1203)Gravatar Dylan Conway 1-0/+62