diff options
-rw-r--r-- | docs/cli/test.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cli/test.md b/docs/cli/test.md index a700b24ca..9eef73c6d 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(); }); |