aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/test (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-12-04[bun:test] Fix crash when `test("foo")` is called without passing a functionGravatar Jarred Sumner 1-6/+13
2022-12-02matchers for less than and greater than (#1573)Gravatar Dylan Conway 1-4/+252
* toBeGreaterThan with tests * toBeGreaterThanOrEqual and tests * toBeLessThan and toBeLessThanOrEqual with tests * expect types * switch expressions
2022-12-01bun test `toStrictEqual` (#1568)Gravatar Dylan Conway 1-1/+42
* toStrictEqual and bug fix in deepEqual * rebase Remove some dead bindings code * remove debugging test * canGetIndexQuickly for array holes * isStrict template Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-11-29import everything from "bun" where possibleGravatar Jarred Sumner 1-10/+10
2022-11-28toHaveProperty and tests (#1558)Gravatar Dylan Conway 2-2/+72
* toHaveProperty and tests * emoji tests
2022-11-23Bun.deepEquals and expect().toEqual() (#1548)Gravatar Dylan Conway 1-1/+40
* all of deepEquals * remove comment, tests, move inline function
2022-11-20Update jest.zigGravatar Jarred Sumner 1-1/+1
2022-11-20[bun:test] Fix bug with returning a non-promise object in a `test` or `it` ↵Gravatar Jarred Sumner 1-25/+27
function
2022-11-19Introduce `BUN_GARBAGE_COLLECTOR_LEVEL` debug environment variableGravatar Jarred Sumner 1-1/+26
2022-11-18bun test matchers and tests (#1526)Gravatar Dylan Conway 2-50/+361
* ignore webkit for cherry-pick * toContain and toBeTruthy * toBe null, undefined, falsy, toHaveProperty, .not * markBindings * remove toHaveProperty, undo ignore webkit, more tests * undo ignore webkit * remove bad tests * check if length property exists for toHaveLength() * fix call signature * handle argument that is not an integer * getLengthOfArray returns u64 * switch to truncate * toHaveLength() edge cases * add toBooleanSlow() * infinity, nan, negative
2022-11-15add generated getter/setter type with thisValue (#1513)Gravatar Dylan Conway 2-1/+4
2022-11-07[bun:test] Rejected promises should cause tests to failGravatar Jarred Sumner 1-0/+9
2022-11-07[bun:test] Implement `done` callback with support for async functionsGravatar Jarred Sumner 1-11/+126
2022-11-07[bun:test] Implement `expect` in faster Zig bindingsGravatar Jarred Sumner 2-366/+341
2022-10-27feat(core): optimize zig slice (#1408)Gravatar Carter Snook 1-4/+6
* feat(core): optimize zig slice * address concerns
2022-10-15add more loggingGravatar Jarred Sumner 1-2/+2
2022-10-02Fix test expectation counterGravatar Jarred Sumner 1-12/+17
2022-09-30Remove extraneous calls to `.ref()`Gravatar Jarred Sumner 1-4/+4
2022-09-28make bun:test ~300x faster when using http server, websockets, etcGravatar Jarred Sumner 1-53/+226
there was an event loop bug
2022-09-06Move some things to the stackGravatar Jarred Sumner 1-9/+10
2022-08-17New Zig <> C++ bindings generator. +20% faster HTTP serverGravatar Jarred Sumner 1-4/+4
2022-08-06[wiptest] fix calling toBe in describe (#1000)Gravatar Zilin Zhu 1-0/+20
2022-07-11[bun wiptest] Fix copyGravatar Jarred Sumner 1-1/+1
2022-07-02[bindings] Mark more stuff as unreachableGravatar Jarred Sumner 1-11/+2
2022-07-02Rename `defaultErrorHandler` to `runErrorHandler`Gravatar Jarred Sumner 1-4/+4
2022-06-26wip ReadableStream for HTTP(s) ServerGravatar Jarred Sumner 1-2/+2
2022-06-22change the directory structurejarred/renameGravatar Jarred Sumner 1-0/+1059