From 851b19ee0eb0218073db7fe7d30301560c460c31 Mon Sep 17 00:00:00 2001 From: Brian Knight <776994+brianknight10@users.noreply.github.com> Date: Wed, 29 Nov 2023 21:00:15 -0500 Subject: [PATCH] Fix imports in run-tests example (#7368) Adds `describe` to the import statement in a run tests example. Without this, the example does not run properly and returns an error. --- docs/guides/test/run-tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/test/run-tests.md b/docs/guides/test/run-tests.md index 39e185b3c0..90c9fb475a 100644 --- a/docs/guides/test/run-tests.md +++ b/docs/guides/test/run-tests.md @@ -64,7 +64,7 @@ Ran 2 tests across 1 files. [15.00ms] All tests have a name, defined using the first parameter to the `test` function. Tests can also be grouped into suites with `describe`. ```ts -import { test, expect } from "bun:test"; +import { test, expect, describe } from "bun:test"; describe("math", () => { test("add", () => {