aboutsummaryrefslogtreecommitdiff
path: root/test (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-05-15react testsintegration-testsGravatar Dave Caruso 5-14/+14301
2023-05-15fix testGravatar Dave Caruso 1-2/+2
2023-05-11work on vue integrationGravatar Dave Caruso 7-25/+58
2023-05-11start vue testsGravatar Dave Caruso 10-15/+178
2023-05-11stuffGravatar Dave Caruso 5-86/+26
2023-05-11react client integration testGravatar Dave Caruso 15-0/+361
2023-05-11bundler tests and improve `Bun.build` return type (#2833)Gravatar dave caruso 23-111/+782
* importstar_ts * tests * run acorn test suite * bench tweaks * test * bun.build tests very incomplete * remove dataurl and base64 loaders from tests since they dont work yet * tests * stuff * stuff * add errors and array of blobs * work so far * docs * requested changes * fix overwrite docs * remove this file
2023-05-11fix child process tests (#2584)Gravatar Dylan Conway 1-1/+1
* always handle exit on next tick * emit spawn immediately
2023-05-11fix(fs) mkdtemp and mkdtempSync errors (#2851)Gravatar Ciro Spaciari 1-0/+17
* fix mkdtemp * fmt * fix errno
2023-05-11add tests for ws.close (#2844)Gravatar Ciro Spaciari 1-0/+144
* add tests for ws.close * add timeout on ws.close tests
2023-05-11add support for { all: true } option on dns.lookup (#2846)Gravatar Ciro Spaciari 1-0/+8
2023-05-11Report timings for failing tests tooGravatar Jarred Sumner 1-1/+1
2023-05-10Implement `describe.skip` (#2836)Gravatar Degreat 1-1/+147
* Implement describe.skip * Add more tests to cover hooks
2023-05-10feat(fetch) add redirect: 'error' support (#2845)Gravatar Ciro Spaciari 1-0/+21
* add redirect: 'error' support * fix typo * fix typo * refactor FetchRedirect enum * fix FetchRedirect * updated
2023-05-10Clean-up 85b4be5f7189e51e63672ddc874e7c6e09ae8befGravatar Jarred Sumner 1-0/+10
- We don't need to make `Bun__fetch` exported in every C++ header file - We shouldn't return JSObjectRef, its an unnecessary wrapper - The version of `fetch` on the Bun global should be non-configurable so that it is safe for anyone who wants to use that without a user-modifiable one
2023-05-10fix(fetch) fix fetch inheritance (#2842)Gravatar Ciro Spaciari 1-0/+5
* patch fetch function inheritance * fmt * fix reserveCapacity and number of arguments for fetch * change Bun.fetch to use Fetch.jsFunction * merge Fetch.jsFunction and Fetch.call * remove commented code
2023-05-10`bun add` from root folder when call within workspaces (#2841)Gravatar Alex Lam S.L 2-7/+65
- ignore invalid `package.json` from parent directories - `echo` new lines from `make` targets correctly
2023-05-10Update testGravatar Jarred Sumner 1-1/+1
2023-05-10[install] operator on root package of workspaces (#2834)Gravatar Alex Lam S.L 2-0/+224
- parse `bunfig.toml` from same directory as `package.json` - handle `--cwd` correctly fixes #2592
2023-05-09fix #2820 (#2832)Gravatar dave caruso 1-0/+10
2023-05-08Fixes #2807Gravatar Dylan Conway 1-0/+23
we will look at the minify tests for uglifyjs too
2023-05-08implement build api `define` and `loaders` (#2805)Gravatar dave caruso 16-676/+1535
* parse error logs * clean up types * remove --jsx-production. use NODE_ENV instead * add define to js api * add loaders to js api * fixups * sourcemap * typo fix * remove label, comment dir just for now * test tweaks * test work * make optional enums actually optional. allows `sourcemap: undefined` * overload host ram test * string tests * tests * test for 2815 * requested changes * sort this list * remove this test file now that it passes * oops * add --format * finish ts tests * doc typos related to define and loader
2023-05-08Fix bug in Bun.build() where it wouldn't pick up changes to directories on ↵Gravatar Jarred Sumner 2-0/+58
rebuilds (#2824) Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-05-06[minifier] Rewrite equality check logicGravatar Jarred Sumner 1-0/+2
2023-05-06Fix several transpiler testsGravatar Jarred Sumner 1-69/+131
2023-05-06Fixes https://github.com/oven-sh/bun/issues/2810Gravatar Jarred Sumner 1-0/+10
2023-05-04Throw error on non-file urlGravatar Jarred Sumner 1-0/+13
2023-05-03Fix code splitting for server componentsGravatar Jarred Sumner 1-0/+7
2023-05-03Fix broken testGravatar Jarred Sumner 1-1/+1
2023-05-01Fix testGravatar Jarred Sumner 1-7/+7
2023-04-30Bun Test matchers even/odd. Also, .toContains fix and truthy (#2754)Gravatar Will Richards 2 1-0/+159
* bun test matcher tests for even/odd, few more truthy tests, and fix for contains empty string * implementation of even/odd matchers * didn't add the codegen bindings * linted
2023-04-30test default condition (#2776)Gravatar dave caruso 2-2/+52
2023-05-01[install] handle `devDependencies` of local folders (#2781)Gravatar Alex Lam S.L 1-0/+106
fixes #2653
2023-04-30[install] handle repeated install of GitHub dependency correctly (#2780)Gravatar Alex Lam S.L 1-93/+402
fixes #2602
2023-04-29Put transpiler tests in a separate folderGravatar Jarred Sumner 2-0/+0
2023-04-29Clean up args parsing with `--loader`Gravatar Jarred Sumner 1-7/+2
2023-04-28bundler tests: rest of default.test.ts and starting jsx tests (#2765)Gravatar dave caruso 13-461/+1059
2023-04-28Improves Body.Value life cycle and Signal life cycle on server.zig (#2752)Gravatar Ciro Spaciari 3-8/+43
* reestruct request body value and signal * revert react-hello-world * fix constructInto and test * fmt * fix body nullable * Request can outlive RequestContext * fmt * BodyValue is now HiveRef * hasDecl for Ref and HiveRef * fix deinit call on Ref/HiveRef * adds InlineBlob * fix Bun.inspect when using InlineBlob * revert InlineBlob * Fix mimalloc-debug * Add TODO note * fix: make node:crypto Hash.copy work correctly (#2761) This commit will also: - add a CryptoHasher.copy function - make CryptoHasher.digest reset the hasher so it can be reused Resolves #2651 * :nail_care: * address unicode issue (#2763) * Fix an oopsie * Another oopsie * use inline for * Fixup --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> * Request can outlive RequestContext * fmt * garantee to have the abort signnal attached to the server before abort the client on bun-server test --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: Silver <14016168+silversquirl@users.noreply.github.com> Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2023-04-27:nail_care:Gravatar Jarred Sumner 2-15/+4
2023-04-27fix: make node:crypto Hash.copy work correctly (#2761)Gravatar Silver 2-0/+98
This commit will also: - add a CryptoHasher.copy function - make CryptoHasher.digest reset the hasher so it can be reused Resolves #2651
2023-04-26bundler tests! (#2741)Gravatar dave caruso 7-386/+548
* bundler tests! * tests
2023-04-26Use Ninja to build mimalloc and gitignore test/bun.lockb (#2750)Gravatar Silver 1-0/+1
* build: use ninja to build mimalloc This is both faster than make, and ensures the same generator is always used, even when CMAKE_GENERATOR exists in the environment. * chore: gitignore test/bun.lockb
2023-04-26Fixes #2746 (#2748)Gravatar Jarred Sumner 1-0/+12
* Fixes #2746 * add test --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-04-25bundler tests, testing plugins (#2740)Gravatar dave caruso 18-613/+1117
* add cjs2esm stuff * tests * plugin testing
2023-04-24[install] fix `bun add` on non-aliased dependency (#2728)Gravatar Alex Lam S.L 1-0/+64
2023-04-24Continue bundler tests (#2691)Gravatar dave caruso 11-659/+1717
* start refine + skipping some packagejson tests * some more tests * stuff * tests for minify branch * pkgjson * add minify/MergeAdjacentVars * add test for #2699 * more tests! * more tests * finish splitting tests * all but 2 import star tests are good * test
2023-04-24Reduce friction for building with npm (#2723)Gravatar Plecra 1-1/+1
This was the only dependency on bun that I encountered while building the project, and the change to the gitignore ensures that it's easy to make changes after an npm based build
2023-04-21Keep the node crypt otestGravatar Jarred Sumner 1-6/+67
2023-04-21Revert "use a lazyily initialized stream for `node:crypto` `createHash` (#2652)"Gravatar Jarred Sumner 4-80/+903
This reverts commit 3a2fd65f20d3b4e99c89f789acec5e5e40615008.
2023-04-21Revert "implement `node:events` in javascript (#2604)"Gravatar Jarred Sumner 3-451/+96
This reverts commit 96a2ed1040d5a0ca51ae41267cba4f8e5d0a6142.