☕️ Classic, reliable, trusted test framework for Node.js and the browser
docs: migrate assertion libraries wiki link to main docs (#5442)
Kelechi Ebiri95f3ca8bc3a6
diff --git a/docs-next/astro.config.ts b/docs-next/astro.config.tsindex bcef0fa2..671e753d 100644--- a/docs-next/astro.config.ts+++ b/docs-next/astro.config.ts@@ -120,6 +120,10 @@ export default defineConfig({label: "Node.js native ESM support",slug: "explainers/nodejs-native-esm-support",},+ {+ label: "Related tools",+ slug: "explainers/related-tools",+ },{label: "Run cycle overview",slug: "explainers/run-cycle-overview",diff --git a/docs-next/src/content/docs/explainers/related-tools.mdx b/docs-next/src/content/docs/explainers/related-tools.mdxnew file mode 100644index 00000000..31b907ba--- /dev/null+++ b/docs-next/src/content/docs/explainers/related-tools.mdx@@ -0,0 +1,17 @@+---+description: External tools and libraries that work well with Mocha+title: Related tools+---++# Related Tools++## Assertion Libraries++ +- [unexpected](https://unexpectedjs.github.io/) - extensible BDD assertion toolkit+ +- [chai](http://chaijs.com/) - expect(), assert() and should style assertions *recommended*+ +- [earl](https://earl.fun/) - ergonomic, modern and type-safe assertion library for TypeScript++## Mocks, Stubs & Spies++ +- [sinon.js](https://sinonjs.org/) - Test spies, stubs and mocks for JavaScript.+ +- [nock](https://github.com/nock/nock) - HTTP mocking and expectations library.diff --git a/docs/api-tutorials/jsdoc.tutorials.json b/docs/api-tutorials/jsdoc.tutorials.jsonindex 11e5ac63..a92be022 100644--- a/docs/api-tutorials/jsdoc.tutorials.json+++ b/docs/api-tutorials/jsdoc.tutorials.json@@ -5,8 +5,8 @@"custom-reporter": {"title": "Create a Custom Reporter"},- "find-global-leaks": {- "title": "Find global leaks"+ "related-tools": {+ "title": "Related tools"},"shared-behaviours": {"title": "Shared behaviours"diff --git a/docs/api-tutorials/related-tools.md b/docs/api-tutorials/related-tools.mdnew file mode 100644index 00000000..7f0358df--- /dev/null+++ b/docs/api-tutorials/related-tools.md@@ -0,0 +1,12 @@+# Related Tools++## Assertion Libraries++ +- [unexpected](https://unexpectedjs.github.io/) - extensible BDD assertion toolkit+ +- [chai](http://chaijs.com/) - expect(), assert() and should style assertions *recommended*+ +- [earl](https://earl.fun/) - ergonomic, modern and type-safe assertion library for TypeScript++## Mocks, Stubs & Spies++ +- [sinon.js](https://sinonjs.org/) - Test spies, stubs and mocks for JavaScript.+ +- [nock](https://github.com/nock/nock) - HTTP mocking and expectations library.