Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs-next/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
17 changes: 17 additions & 0 deletions docs-next/src/content/docs/explainers/related-tools.mdx
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 2 additions & 2 deletions docs/api-tutorials/jsdoc.tutorials.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
12 changes: 12 additions & 0 deletions docs/api-tutorials/related-tools.md
Original file line number Diff line number Diff line change
@@ -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.
Loading