diff --git a/docs/cli/test.md b/docs/cli/test.md index a700b24ca4..9eef73c6d0 100644 --- a/docs/cli/test.md +++ b/docs/cli/test.md @@ -103,7 +103,7 @@ Alternatively, use the `done` callback to signal completion. If you include the import { expect, test } from "bun:test"; test("2 * 2", done => { - Promise.resolve(2 * 2).then(done => { + Promise.resolve(2 * 2).then(result => { expect(result).toEqual(4); done(); });