Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

fix: correct assertion import syntax in getting-started guide (#5526)

Soham Sarangafb0215bd4fba
diff --git a/docs-next/src/content/docs/getting-started.mdx b/docs-next/src/content/docs/getting-started.mdx
index 4945e61e..e9a9d829 100644
--- a/docs-next/src/content/docs/getting-started.mdx
+++ b/docs-next/src/content/docs/getting-started.mdx
@@ -21,7 +21,7 @@ Create the following `example.test.js` file under a `test/` directory:
```js
// test/example.test.js
-import { assert } from "node:assert";
+import assert from "node:assert";
describe("Array", function () {
describe("#indexOf()", function () {