import assert from "assert"; import { expect, test } from "bun:test"; // https://github.com/oven-sh/bun/issues/941 test("assert as a function does not throw", () => assert(true)); test("assert as a function does throw", () => { try { assert(false); expect(false).toBe(true); } catch (e) {} }); an/github-api-option' type='application/atom+xml'/>
aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/setImmediate.test.js (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2023-01-03[streams] speed up `Readable` in some cases (#1708)Gravatar Alex Lam S.L 3-14/+140
2023-01-03Fix crash in BufferListGravatar Jarred Sumner 1-2/+2