aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-03-18Fix several bugs (#2418)Gravatar Dylan Conway 7-16/+93
* utf16 codepoint with replacement character * Fix test failure with `TextEncoder("ascii')` * Add missing type * Fix Response.prototype.bodyUsed and Request.prototype.bodyUsed * Fix bug with scrypt error not clearing * Update server.zig * oopsie
2023-03-17Fix various fetch/response/request tests (#2416)Gravatar Dylan Conway 20-156/+428
* fix most fetch tests, skip a few * fastGet, toValueGC, and invalid init * bigint unreachable, range error, log process as process * remove extra fetch_headers * remove js_type parameter, check isObject() * throw invalid mime type error, use enum literal * switch back to promise rejection * RangeError pascal case
2023-03-17Feat(test): add toMatch (#2404)Gravatar zhiyuan 8-8/+155
2023-03-16Remove old Docker workflowGravatar Ashcon Partovi 1-47/+0
2023-03-16Remove test DockerfileGravatar Ashcon Partovi 1-4/+0
2023-03-16Organize Dockerfiles for official statusGravatar Ashcon Partovi 10-55/+287
2023-03-15remove trailing commaGravatar Dylan Conway 1-4/+4
2023-03-15Fix socket tests with connection errors (#2403)Gravatar Dylan Conway 2-1/+11
* release pending activity with connection error handler * unref poll_ref
2023-03-15Rename `expectObjectTypeCount` to `expectMaxObjectTypeCount`Gravatar Jarred Sumner 4-13/+28
2023-03-15feat(expect): update toBeInstanceOf (#2396)Gravatar zhiyuan 7-27/+49
* feat: update instanceof binding * fix: according to PR comments
2023-03-15Make the test work in any timezoneGravatar Jarred Sumner 1-9/+9
2023-03-15Fixes #2399Gravatar Jarred Sumner 3-12/+38
2023-03-15fix gc-related flaky test failures (#2402)Gravatar Alex Lam S.L 9-100/+96
2023-03-15Remove nested tests from harnessGravatar Ashcon Partovi 1-89/+27
2023-03-15Improve reliability of generated testsGravatar Ashcon Partovi 27-821/+921
2023-03-15:white_check_mark: some test matchersGravatar Jarred Sumner 1-2/+2
2023-03-15fix `gc` import from harnessGravatar Dylan Conway 2-13/+3
2023-03-15Case sensitiveGravatar Jarred Sumner 1-5/+4
2023-03-15fix fixtureGravatar Jarred Sumner 1-2/+2
2023-03-15:scissors:Gravatar Jarred Sumner 1-1/+0
2023-03-15Make this test more reliableGravatar Jarred Sumner 1-5/+5
2023-03-15Fix broken import path in testGravatar Jarred Sumner 4-2673/+6
2023-03-15add tsconfig and update path (#2401)Gravatar Dylan Conway 2-1/+13
2023-03-15allows Bun.serve to listen on IPV6 (#2400)Gravatar Ciro Spaciari 3-47/+146
2023-03-15[install] sanitise against malformed `bun.lockb` (#2397)Gravatar Alex Lam S.L 7-50/+48
* [install] sanitise against malformed `bun.lockb` fixes #2392 * fix `prettier` checks in unrelated files
2023-03-14don't delete bun-snapshotsGravatar Dylan Conway 2-4/+77
2023-03-14test added snapshots in new processGravatar Dylan Conway 4-83/+35
2023-03-14Update child_process-node.test.jsGravatar Jarred Sumner 1-4/+4
2023-03-14generate jest snapshots manuallyGravatar Dylan Conway 1-45/+0
2023-03-14Condense snapshot outputGravatar Jarred Sumner 1-20/+27
2023-03-14Fix failing testGravatar Jarred Sumner 1-0/+1
2023-03-14calculated class name after name propGravatar Dylan Conway 1-11/+8
2023-03-14Skip some more irrelevant testsGravatar Ashcon Partovi 5-130/+17
2023-03-14Implement `toMatchSnapshot()` (#2294)Gravatar Dylan Conway 41-131/+4635
* buggy snapshot * error output for failed snapshot * missing first * hints * open dir once, better cleanup * update flag * truncate on update * object and class snapshot formatting * array formatting * no function name, single item is empty array * string objects, maps, sets, promise * avoid using invalid memory * handle number objects * handle extending `Number` * boolean objects * snapshot tests and test updates * snapshot format for buffers * safer snapshot parsing * property matchers setup * strings and tests * generate classes with empty prototype * optional `propertyMatchers` parameter * new test folder structure * strings.eqlLong * globalObject.throwPretty() and expect.any tests * add updateSnapshot flag to help * move snapshot format out of `printErrorlikeObject` * empty object snapshot format * separate typed array, remove trailing comma * use `isCell`, object trailing commas * handle unicode * todo for primitive constructors * switch to `JSC.Node.Syscall.open` and `JSC.Maybe` * use js parser for snapshot files * deinit ast, log parse error * copy/paste most of `exports.ZigConsoleClient` * remove snapshot option * remove ordered properties option * remove snapshot format option from `exports.zig` * remove extra newlines * change mode * update test runner output * escape backticks faster * `bunx jest` in temp dir * remove buffered writer * add `toMatchSnapshot` to types * cleanup, switch to `pread` * cli `--update` flag * `--update-snapshots` * remove string object format
2023-03-14Update .prettierignoreGravatar Jarred Sumner 1-1/+2
2023-03-14Update harness.tsGravatar Jarred Sumner 1-2/+28
2023-03-14Ignore irrelevant tests in encoding.test.tsGravatar Ashcon Partovi 2-3/+7
2023-03-14Fix node test harnessGravatar Jarred Sumner 5-189/+232
2023-03-14Add missing exportGravatar Jarred Sumner 1-6/+8
2023-03-14Move tobeInstanceOf() tests to expect.test.tsGravatar Ashcon Partovi 3-13/+54
2023-03-14Add tests for AbortSignal, AbortControllerGravatar Ashcon Partovi 5-23/+184
2023-03-14Fix incorrect test folderGravatar Jarred Sumner 1-1/+1
2023-03-14Fix missing `constants` export in zlibGravatar Jarred Sumner 1-2/+3
2023-03-14feat: add toBeInstanceOf matcher in expect (#2389)Gravatar zhiyuan 3-1/+84
2023-03-14Fix `node:https` being readonlyGravatar Jarred Sumner 2-8/+4
2023-03-14Markdown (#2383)Gravatar Josh Soref 1-13/+13
* Fix test/README.md reference * Apply markdown links
2023-03-14Fix text formatting in .remoteAddress in `ServerWebSocket` and `Socket`Gravatar Jarred Sumner 7-43/+132
Fixes #2387
2023-03-13Better test coverage for Request and ResponseGravatar Ashcon Partovi 9-28/+774
2023-03-13feat(net.createServer) and adds socket.connect IPC support (#2337)Gravatar Ciro Spaciari 5-28/+896
* added net.Server * fix fmt * fix cast and move test * fix node-net.tests.ts but breaks server data receive * fix end and close only emitting when data or pipe was added * fix socket starting paused * add echo test * fix fmt * fix fmt * on close if the socket is paused, keep paused until the user resumes it to match node behavior * resume on connect * fix getConnections, error on close, make _Handler private and create symbols for SocketServerHandlers * add path support (IPC) * fix unix domains support, add connect unix tests * fix unix socket tests * emit listening and listening error on next tick * fix connection flask test * try fix connect error on macos test * merge connection and drop tests * added exclusive option * fix socket.zig fmt * fix validation for options and add test for it * pass prettier fmt
2023-03-13Add install with proto examples. (#2361)Gravatar Miles Johnson 1-0/+6