aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/test-test.test.ts (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-03-07Reorganize tests (#2332)Gravatar Ashcon Partovi 1-2099/+0
2023-03-06support `expect().toThrow(/pattern/)` (#2314)Gravatar Alex Lam S.L 1-2/+11
- fix time-zone-dependent test failure
2023-02-23Upgrade Zig (#2151)Gravatar Dylan Conway 1-2/+2
* fixup * Upgrade Zig * Remove bad assertion * strings * bump * mode -> optimize * optimize * Linux build * Update bindgen.zig
2023-02-21Update test runner output with colors and diffs (#2122)Gravatar Dylan Conway 1-4/+2
* add zig-diff * move diff functions * toHaveProperty diff for objects * use formatter * format labels * move work to format, diff when it makes sense * remove comptime, dim equal slices * order before diff * line diffs * add diffz * switch to diffz * add `diffLines()` function * small `prettyFmt()` bug fix * test runner color output * update `toBe()` error output * fix test * diff method, fix crash * fix link test * remove `isRegex`
2023-01-31Re-run prettier after changesGravatar Jarred Sumner 1-66/+21
2023-01-30report invalid input file as test failure (#1938)Gravatar Alex Lam S.L 1-2/+30
fixes #1935
2023-01-22Add tests for async failureGravatar Jarred Sumner 1-5/+61
2023-01-22[EventEmitter] Preserve `this` in event emitter callbacksGravatar Jarred Sumner 1-0/+42
2023-01-09Fixes https://github.com/oven-sh/bun/issues/1533Gravatar Jarred Sumner 1-1/+24
2023-01-09Add test for expect().toThrowGravatar Jarred Sumner 1-0/+24
2022-12-17Delete Oniguruma (#1625)Gravatar Jarred Sumner 1-5/+0
* Update .gitmodules * Delete oniguruma * Delete Oniguruma * Make this test less flaky * :scissors: Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-12-04Update test-test.test.tsGravatar Jarred Sumner 1-0/+8
2022-12-03[test] Add a couple tests for subarray toEqualGravatar Jarred Sumner 1-0/+3
2022-12-02matchers for less than and greater than (#1573)Gravatar Dylan Conway 1-0/+449
* 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-0/+125
* 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-28toHaveProperty and tests (#1558)Gravatar Dylan Conway 1-113/+332
* toHaveProperty and tests * emoji tests
2022-11-23Bun.deepEquals and expect().toEqual() (#1548)Gravatar Dylan Conway 1-2/+1023
* all of deepEquals * remove comment, tests, move inline function
2022-11-18bun test matchers and tests (#1526)Gravatar Dylan Conway 1-0/+144
* 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