-
-
Couldn't load subscription status.
- Fork 3.1k
Open
Labels
area: documentationanything involving docs or mochajs.organything involving docs or mochajs.orgstatus: in triagea maintainer should (re-)triage (review) this issuea maintainer should (re-)triage (review) this issue
Description
Documentation Request Checklist
- I have read and agree to Mocha's Code of Conduct and Contributing Guidelines
- I have searched for related issues and issues with the
faqlabel, but none matched my issue. - I want to provide a PR to resolve this
Overview
Hi! Great work on the new docs site.
I discovered that when I navigate in the left hand sidebar, sometimes, I get a blank page. It happens ever 3-5 click, so tricky to reproduce reliably.
Additional Info
Using Safari Version 26.0 (19622.1.22.118.2).
I get two resources in the response:
The bottom, "document", one is empty. The top one is a raw text file with this content:
Raw
<!DOCTYPE html><html lang="en" dir="ltr" data-has-toc data-has-sidebar data-theme="dark" class="astro-bguv2lll"> <head><meta charset="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Pending Tests | Mocha</title><link rel="canonical"/><link rel="shortcut icon" href="/next/favicon.svg" type="image/svg+xml"/><meta name="generator" content="Astro v4.16.8"/><meta name="generator" content="Starlight v0.28.4"/><meta property="og:title" content="Pending Tests"/><meta property="og:type" content="article"/><meta property="og:url"/><meta property="og:locale" content="en"/><meta property="og:description" content="Describing test cases with names that don't yet have a callback."/><meta property="og:site_name" content="Mocha"/><meta name="twitter:card" content="summary_large_image"/><meta name="description" content="Describing test cases with names that don't yet have a callback."/> <meta property="og:image" content="/next/_astro/mocha-thumbnail.BSeUZGOr.svg"> <meta name="twitter:image" content="/next/_astro/mocha-thumbnail.BSeUZGOr.svg"><script>
window.StarlightThemeProvider = (() => {
const storedTheme =
typeof localStorage !== 'undefined' && localStorage.getItem('starlight-theme');
const theme =
storedTheme ||
(window.matchMedia('(prefers-color-scheme: light)').matches ? 'light' : 'dark');
document.documentElement.dataset.theme = theme === 'light' ? 'light' : 'dark';
return {
updatePickers(theme = storedTheme || 'auto') {
document.querySelectorAll('starlight-theme-select').forEach((picker) => {
const select = picker.querySelector('select');
if (select) select.value = theme;
/** @type {HTMLTemplateElement | null} */
const tmpl = document.querySelector(`#theme-icons`);
const newIcon = tmpl && tmpl.content.querySelector('.' + theme);
if (newIcon) {
const oldIcon = picker.querySelector('svg.label-icon');
if (oldIcon) {
oldIcon.replaceChildren(...newIcon.cloneNode(true).childNodes);
}
}
});
},
};
})();
</script><template id="theme-icons"><svg aria-hidden="true" class="light astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M5 12a1 1 0 0 0-1-1H3a1 1 0 0 0 0 2h1a1 1 0 0 0 1-1Zm.64 5-.71.71a1 1 0 0 0 0 1.41 1 1 0 0 0 1.41 0l.71-.71A1 1 0 0 0 5.64 17ZM12 5a1 1 0 0 0 1-1V3a1 1 0 0 0-2 0v1a1 1 0 0 0 1 1Zm5.66 2.34a1 1 0 0 0 .7-.29l.71-.71a1 1 0 1 0-1.41-1.41l-.66.71a1 1 0 0 0 0 1.41 1 1 0 0 0 .66.29Zm-12-.29a1 1 0 0 0 1.41 0 1 1 0 0 0 0-1.41l-.71-.71a1.004 1.004 0 1 0-1.43 1.41l.73.71ZM21 11h-1a1 1 0 0 0 0 2h1a1 1 0 0 0 0-2Zm-2.64 6A1 1 0 0 0 17 18.36l.71.71a1 1 0 0 0 1.41 0 1 1 0 0 0 0-1.41l-.76-.66ZM12 6.5a5.5 5.5 0 1 0 5.5 5.5A5.51 5.51 0 0 0 12 6.5Zm0 9a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7Zm0 3.5a1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-1a1 1 0 0 0-1-1Z"/></svg> <svg aria-hidden="true" class="dark astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M21.64 13a1 1 0 0 0-1.05-.14 8.049 8.049 0 0 1-3.37.73 8.15 8.15 0 0 1-8.14-8.1 8.59 8.59 0 0 1 .25-2A1 1 0 0 0 8 2.36a10.14 10.14 0 1 0 14 11.69 1 1 0 0 0-.36-1.05Zm-9.5 6.69A8.14 8.14 0 0 1 7.08 5.22v.27a10.15 10.15 0 0 0 10.14 10.14 9.784 9.784 0 0 0 2.1-.22 8.11 8.11 0 0 1-7.18 4.32v-.04Z"/></svg> <svg aria-hidden="true" class="auto astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M21 14h-1V7a3 3 0 0 0-3-3H7a3 3 0 0 0-3 3v7H3a1 1 0 0 0-1 1v2a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-2a1 1 0 0 0-1-1ZM6 7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v7H6V7Zm14 10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-1h16v1Z"/></svg> </template><link rel="stylesheet" href="/next/_astro/index.C_pPenue.css">
<style>svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em}
.sl-link-button:where(.astro-xwgiixxa){align-items:center;border:1px solid transparent;border-radius:999rem;display:inline-flex;font-size:var(--sl-text-sm);gap:.5em;line-height:1.1875;outline-offset:.25rem;padding:.4375rem 1.125rem;text-decoration:none}.sl-link-button:where(.astro-xwgiixxa).primary{background:var(--sl-color-text-accent);border-color:var(--sl-color-text-accent);color:var(--sl-color-black)}.sl-link-button:where(.astro-xwgiixxa).primary:hover{color:var(--sl-color-black)}.sl-link-button:where(.astro-xwgiixxa).secondary{border-color:inherit;color:var(--sl-color-white)}.sl-link-button:where(.astro-xwgiixxa).minimal{color:var(--sl-color-white);padding-inline:0}.sl-link-button:where(.astro-xwgiixxa) svg{flex-shrink:0}@media (min-width: 50rem){.sl-link-button:where(.astro-xwgiixxa){font-size:var(--sl-text-base);padding:.9375rem 1.25rem}}.sl-markdown-content .sl-link-button:where(.astro-xwgiixxa){margin-inline-end:1rem}.sl-markdown-content .sl-link-button:where(.astro-xwgiixxa):not(:where(p *)){margin-block:1rem}
:root{--sl-badge-default-border: var(--sl-color-accent);--sl-badge-default-bg: var(--sl-color-accent-low);--sl-badge-default-text: #fff;--sl-badge-note-border: var(--sl-color-blue);--sl-badge-note-bg: var(--sl-color-blue-low);--sl-badge-note-text: #fff;--sl-badge-danger-border: var(--sl-color-red);--sl-badge-danger-bg: var(--sl-color-red-low);--sl-badge-danger-text: #fff;--sl-badge-success-border: var(--sl-color-green);--sl-badge-success-bg: var(--sl-color-green-low);--sl-badge-success-text: #fff;--sl-badge-caution-border: var(--sl-color-orange);--sl-badge-caution-bg: var(--sl-color-orange-low);--sl-badge-caution-text: #fff;--sl-badge-tip-border: var(--sl-color-purple);--sl-badge-tip-bg: var(--sl-color-purple-low);--sl-badge-tip-text: #fff}[data-theme=light]:root{--sl-badge-default-bg: var(--sl-color-accent-high);--sl-badge-note-bg: var(--sl-color-blue-high);--sl-badge-danger-bg: var(--sl-color-red-high);--sl-badge-success-bg: var(--sl-color-green-high);--sl-badge-caution-bg: var(--sl-color-orange-high);--sl-badge-tip-bg: var(--sl-color-purple-high)}.sl-badge:where(.astro-avdet4wd){display:inline-block;border:1px solid var(--sl-color-border-badge);border-radius:.25rem;font-family:var(--sl-font-system-mono);line-height:normal;color:var(--sl-color-text-badge);background-color:var(--sl-color-bg-badge);overflow-wrap:anywhere}.sidebar-content .sl-badge:where(.astro-avdet4wd){line-height:1;font-size:var(--sl-text-xs);padding:.125rem .375rem}.sidebar-content a[aria-current=page]>.sl-badge:where(.astro-avdet4wd){--sl-color-bg-badge: transparent;--sl-color-border-badge: currentColor;color:inherit}.default:where(.astro-avdet4wd){--sl-color-bg-badge: var(--sl-badge-default-bg);--sl-color-border-badge: var(--sl-badge-default-border);--sl-color-text-badge: var(--sl-badge-default-text)}.note:where(.astro-avdet4wd){--sl-color-bg-badge: var(--sl-badge-note-bg);--sl-color-border-badge: var(--sl-badge-note-border);--sl-color-text-badge: var(--sl-badge-note-text)}.danger:where(.astro-avdet4wd){--sl-color-bg-badge: var(--sl-badge-danger-bg);--sl-color-border-badge: var(--sl-badge-danger-border);--sl-color-text-badge: var(--sl-badge-danger-text)}.success:where(.astro-avdet4wd){--sl-color-bg-badge: var(--sl-badge-success-bg);--sl-color-border-badge: var(--sl-badge-success-border);--sl-color-text-badge: var(--sl-badge-success-text)}.tip:where(.astro-avdet4wd){--sl-color-bg-badge: var(--sl-badge-tip-bg);--sl-color-border-badge: var(--sl-badge-tip-border);--sl-color-text-badge: var(--sl-badge-tip-text)}.caution:where(.astro-avdet4wd){--sl-color-bg-badge: var(--sl-badge-caution-bg);--sl-color-border-badge: var(--sl-badge-caution-border);--sl-color-text-badge: var(--sl-badge-caution-text)}.small:where(.astro-avdet4wd){font-size:var(--sl-text-xs);padding:.125rem .25rem}.medium:where(.astro-avdet4wd){font-size:var(--sl-text-sm);padding:.175rem .35rem}.large:where(.astro-avdet4wd){font-size:var(--sl-text-base);padding:.225rem .45rem}.sl-markdown-content :is(h1,h2,h3,h4,h5,h6) .sl-badge:where(.astro-avdet4wd){vertical-align:middle}
</style><script type="module" src="/next/_astro/hoisted.Cjv38b7T.js"></script>
<script type="module" src="/next/_astro/page.7qqag-5g.js"></script><!-- Matomo -->
<script type="text/javascript">
var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://mochajs.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code --></head> <body class="astro-bguv2lll"> <a href="#_top" class="astro-7q3lir66">Skip to content</a> <div class="page sl-flex astro-vrdttmbt"> <header class="header astro-vrdttmbt"><div class="header sl-flex astro-kmkmnagf"> <div class="title-wrapper sl-flex astro-kmkmnagf"> <a href="/next/" class="site-title sl-flex astro-m46x6ez3"> <img class="light:sl-hidden astro-m46x6ez3" alt="" src="/next/_astro/icon-dark.DfedUq3L.svg" width="21" height="35"> <img class="dark:sl-hidden astro-m46x6ez3" alt="" src="/next/_astro/icon-light.DOkOPX82.svg" width="21" height="35"> <span class="astro-m46x6ez3"> Mocha </span> </a> </div> <div class="sl-flex astro-kmkmnagf"> <site-search data-translations="{"placeholder":"Search"}" class="astro-v37mnknz"> <button data-open-modal disabled aria-label="Search" aria-keyshortcuts="Control+K" class="astro-v37mnknz"> <svg aria-hidden="true" class="astro-v37mnknz astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M21.71 20.29 18 16.61A9 9 0 1 0 16.61 18l3.68 3.68a.999.999 0 0 0 1.42 0 1 1 0 0 0 0-1.39ZM11 18a7 7 0 1 1 0-14 7 7 0 0 1 0 14Z"/></svg> <span class="sl-hidden md:sl-block astro-v37mnknz" aria-hidden="true">Search</span> <kbd class="sl-hidden md:sl-flex astro-v37mnknz" style="display: none;"> <kbd class="astro-v37mnknz">Ctrl</kbd><kbd class="astro-v37mnknz">K</kbd> </kbd> </button> <dialog style="padding:0" aria-label="Search" class="astro-v37mnknz"> <div class="dialog-frame sl-flex astro-v37mnknz"> <button data-close-modal class="sl-flex md:sl-hidden astro-v37mnknz"> Cancel </button> <div class="search-container astro-v37mnknz"> <div id="starlight__search" class="astro-v37mnknz"></div> </div> </div> </dialog> </site-search> <script>
(() => {
const openBtn = document.querySelector('button[data-open-modal]');
const shortcut = openBtn?.querySelector('kbd');
if (!openBtn || !(shortcut instanceof HTMLElement)) return;
const platformKey = shortcut.querySelector('kbd');
if (platformKey && /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)) {
platformKey.textContent = '⌘';
openBtn.setAttribute('aria-keyshortcuts', 'Meta+K');
}
shortcut.style.display = '';
})();
</script> </div> <div class="sl-hidden md:sl-flex right-group astro-kmkmnagf"> <div class="sl-flex social-icons astro-kmkmnagf"> <a href="https://discord.gg/KeDn2uXhER" rel="me" class="sl-flex astro-wy4te6ga"><span class="sr-only astro-wy4te6ga">Discord</span><svg aria-hidden="true" class="astro-wy4te6ga astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M20.32 4.37a19.8 19.8 0 0 0-4.93-1.51 13.78 13.78 0 0 0-.64 1.28 18.27 18.27 0 0 0-5.5 0 12.64 12.64 0 0 0-.64-1.28h-.05A19.74 19.74 0 0 0 3.64 4.4 20.26 20.26 0 0 0 .11 18.09l.02.02a19.9 19.9 0 0 0 6.04 3.03l.04-.02a14.24 14.24 0 0 0 1.23-2.03.08.08 0 0 0-.05-.07 13.1 13.1 0 0 1-1.9-.92.08.08 0 0 1 .02-.1 10.2 10.2 0 0 0 .41-.31h.04a14.2 14.2 0 0 0 12.1 0l.04.01a9.63 9.63 0 0 0 .4.32.08.08 0 0 1-.03.1 12.29 12.29 0 0 1-1.9.91.08.08 0 0 0-.02.1 15.97 15.97 0 0 0 1.27 2.01h.04a19.84 19.84 0 0 0 6.03-3.05v-.03a20.12 20.12 0 0 0-3.57-13.69ZM8.02 15.33c-1.18 0-2.16-1.08-2.16-2.42 0-1.33.96-2.42 2.16-2.42 1.21 0 2.18 1.1 2.16 2.42 0 1.34-.96 2.42-2.16 2.42Zm7.97 0c-1.18 0-2.15-1.08-2.15-2.42 0-1.33.95-2.42 2.15-2.42 1.22 0 2.18 1.1 2.16 2.42 0 1.34-.94 2.42-2.16 2.42Z"/></svg> </a><a href="https://github.com/mochajs/mocha" rel="me" class="sl-flex astro-wy4te6ga"><span class="sr-only astro-wy4te6ga">GitHub</span><svg aria-hidden="true" class="astro-wy4te6ga astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M12 .3a12 12 0 0 0-3.8 23.38c.6.12.83-.26.83-.57L9 21.07c-3.34.72-4.04-1.61-4.04-1.61-.55-1.39-1.34-1.76-1.34-1.76-1.08-.74.09-.73.09-.73 1.2.09 1.83 1.24 1.83 1.24 1.08 1.83 2.81 1.3 3.5 1 .1-.78.42-1.31.76-1.61-2.67-.3-5.47-1.33-5.47-5.93 0-1.31.47-2.38 1.24-3.22-.14-.3-.54-1.52.1-3.18 0 0 1-.32 3.3 1.23a11.5 11.5 0 0 1 6 0c2.28-1.55 3.29-1.23 3.29-1.23.64 1.66.24 2.88.12 3.18a4.65 4.65 0 0 1 1.23 3.22c0 4.61-2.8 5.63-5.48 5.92.42.36.81 1.1.81 2.22l-.01 3.29c0 .31.2.69.82.57A12 12 0 0 0 12 .3Z"/></svg> </a> </div> <starlight-theme-select> <label style="--sl-select-width: 6.25em" class="astro-4yphtoen"> <span class="sr-only astro-4yphtoen">Select theme</span> <svg aria-hidden="true" class="icon label-icon astro-4yphtoen astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M21 14h-1V7a3 3 0 0 0-3-3H7a3 3 0 0 0-3 3v7H3a1 1 0 0 0-1 1v2a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-2a1 1 0 0 0-1-1ZM6 7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v7H6V7Zm14 10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-1h16v1Z"/></svg> <select value="auto" class="astro-4yphtoen"> <option value="dark" class="astro-4yphtoen">Dark</option><option value="light" class="astro-4yphtoen">Light</option><option value="auto" selected class="astro-4yphtoen">Auto</option> </select> <svg aria-hidden="true" class="icon caret astro-4yphtoen astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M17 9.17a1 1 0 0 0-1.41 0L12 12.71 8.46 9.17a1 1 0 1 0-1.41 1.42l4.24 4.24a1.002 1.002 0 0 0 1.42 0L17 10.59a1.002 1.002 0 0 0 0-1.42Z"/></svg> </label> </starlight-theme-select> <script>
StarlightThemeProvider.updatePickers();
</script> </div> </div> </header> <nav class="sidebar astro-vrdttmbt" aria-label="Main"> <starlight-menu-button class="astro-jif73yzw"> <button aria-expanded="false" aria-label="Menu" aria-controls="starlight__sidebar" class="sl-flex md:sl-hidden astro-jif73yzw"> <svg aria-hidden="true" class="astro-jif73yzw astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M3 8h18a1 1 0 1 0 0-2H3a1 1 0 0 0 0 2Zm18 8H3a1 1 0 0 0 0 2h18a1 1 0 0 0 0-2Zm0-5H3a1 1 0 0 0 0 2h18a1 1 0 0 0 0-2Z"/></svg> </button> </starlight-menu-button> <div id="starlight__sidebar" class="sidebar-pane astro-vrdttmbt"> <div class="sidebar-content sl-flex astro-vrdttmbt"> <sl-sidebar-state-persist data-hash="0jf6ucx" class="astro-kku4brbg"> <script>
(() => {
try {
if (!matchMedia('(min-width: 50em)').matches) return;
/** @type {HTMLElement | null} */
const target = document.querySelector('sl-sidebar-state-persist');
const state = JSON.parse(sessionStorage.getItem('sl-sidebar-state') || '0');
if (!target || !state || target.dataset.hash !== state.hash) return;
window._starlightScrollRestore = state.scroll;
customElements.define(
'sl-sidebar-restore',
class SidebarRestore extends HTMLElement {
connectedCallback() {
try {
const idx = parseInt(this.dataset.index || '');
const details = this.closest('details');
if (details && typeof state.open[idx] === 'boolean') details.open = state.open[idx];
} catch {}
}
}
);
} catch {}
})();
</script> <ul class="top-level astro-3ii7xxms"> <li class="astro-3ii7xxms"> <a href="/next/getting-started" class="large astro-3ii7xxms"> <span class="astro-3ii7xxms">Getting Started</span> </a> </li><li class="astro-3ii7xxms"> <details open class="astro-3ii7xxms"> <sl-sidebar-restore data-index="0"></sl-sidebar-restore> <summary class="astro-3ii7xxms"> <div class="group-label astro-3ii7xxms"> <span class="large astro-3ii7xxms">Running Mocha</span> </div> <svg aria-hidden="true" class="caret astro-3ii7xxms astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1.25rem;"><path d="m14.83 11.29-4.24-4.24a1 1 0 1 0-1.42 1.41L12.71 12l-3.54 3.54a1 1 0 0 0 0 1.41 1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.24-4.24a1.002 1.002 0 0 0 0-1.42Z"/></svg> </summary> <ul class="astro-3ii7xxms"> <li class="astro-3ii7xxms"> <a href="/next/running/browsers" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Browsers</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/running/cli" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">CLI</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/running/configuring" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Configuring</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/running/editor-plugins" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Editor plugins</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/running/test-globs" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Test globs</span> </a> </li> </ul> </details> </li><li class="astro-3ii7xxms"> <details open class="astro-3ii7xxms"> <sl-sidebar-restore data-index="1"></sl-sidebar-restore> <summary class="astro-3ii7xxms"> <div class="group-label astro-3ii7xxms"> <span class="large astro-3ii7xxms">Declaring Tests</span> </div> <svg aria-hidden="true" class="caret astro-3ii7xxms astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1.25rem;"><path d="m14.83 11.29-4.24-4.24a1 1 0 1 0-1.42 1.41L12.71 12l-3.54 3.54a1 1 0 0 0 0 1.41 1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.24-4.24a1.002 1.002 0 0 0 0-1.42Z"/></svg> </summary> <ul class="astro-3ii7xxms"> <li class="astro-3ii7xxms"> <a href="/next/declaring/dynamic-tests" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Dynamic tests</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/declaring/exclusive-tests" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Exclusive tests</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/declaring/inclusive-tests" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Inclusive tests</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/declaring/pending-tests" aria-current="page" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Pending tests</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/declaring/retrying-tests" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Retrying tests</span> </a> </li> </ul> </details> </li><li class="astro-3ii7xxms"> <details open class="astro-3ii7xxms"> <sl-sidebar-restore data-index="2"></sl-sidebar-restore> <summary class="astro-3ii7xxms"> <div class="group-label astro-3ii7xxms"> <span class="large astro-3ii7xxms">Features</span> </div> <svg aria-hidden="true" class="caret astro-3ii7xxms astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1.25rem;"><path d="m14.83 11.29-4.24-4.24a1 1 0 1 0-1.42 1.41L12.71 12l-3.54 3.54a1 1 0 0 0 0 1.41 1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.24-4.24a1.002 1.002 0 0 0 0-1.42Z"/></svg> </summary> <ul class="astro-3ii7xxms"> <li class="astro-3ii7xxms"> <a href="/next/features/arrow-functions" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Arrow functions</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/features/assertions" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Assertions</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/features/asynchronous-code" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Asynchronous code</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/features/diffs" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Diffs</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/features/error-codes" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Error codes</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/features/global-fixtures" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Global fixtures</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/features/hooks" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Hooks</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/features/parallel-mode" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Parallel mode</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/features/root-hook-plugins" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Root hook plugins</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/features/timeouts" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Timeouts</span> </a> </li> </ul> </details> </li><li class="astro-3ii7xxms"> <details class="astro-3ii7xxms"> <sl-sidebar-restore data-index="3"></sl-sidebar-restore> <summary class="astro-3ii7xxms"> <div class="group-label astro-3ii7xxms"> <span class="large astro-3ii7xxms">Interfaces</span> </div> <svg aria-hidden="true" class="caret astro-3ii7xxms astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1.25rem;"><path d="m14.83 11.29-4.24-4.24a1 1 0 1 0-1.42 1.41L12.71 12l-3.54 3.54a1 1 0 0 0 0 1.41 1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.24-4.24a1.002 1.002 0 0 0 0-1.42Z"/></svg> </summary> <ul class="astro-3ii7xxms"> <li class="astro-3ii7xxms"> <a href="/next/interfaces/about" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">About</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/interfaces/bdd" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">BDD (default)</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/interfaces/exports" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Exports</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/interfaces/qunit" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">QUnit</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/interfaces/require" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Require</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/interfaces/tdd" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">TDD</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/interfaces/third-party" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Third-Party</span> </a> </li> </ul> </details> </li><li class="astro-3ii7xxms"> <details class="astro-3ii7xxms"> <sl-sidebar-restore data-index="4"></sl-sidebar-restore> <summary class="astro-3ii7xxms"> <div class="group-label astro-3ii7xxms"> <span class="large astro-3ii7xxms">Reporters</span> </div> <svg aria-hidden="true" class="caret astro-3ii7xxms astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1.25rem;"><path d="m14.83 11.29-4.24-4.24a1 1 0 1 0-1.42 1.41L12.71 12l-3.54 3.54a1 1 0 0 0 0 1.41 1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.24-4.24a1.002 1.002 0 0 0 0-1.42Z"/></svg> </summary> <ul class="astro-3ii7xxms"> <li class="astro-3ii7xxms"> <a href="/next/reporters/about" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">About</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/reporters/doc" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Doc</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/reporters/dot" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Dot</span> </a> </li><li class="astro-3ii7xxms"> <a class='astro-3ii7xxms' href='/next/reporters/html/'> <span class="astro-3ii7xxms">HTML</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/reporters/json-stream" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">JSON Stream</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/reporters/json" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">JSON</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/reporters/landing" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Landing</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/reporters/list" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">List</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/reporters/markdown" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Markdown</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/reporters/min" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Min</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/reporters/nyan" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Nyan</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/reporters/progress" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Progress</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/reporters/spec" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Spec (default)</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/reporters/tap" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Tap</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/reporters/third-party" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Third-Party</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/reporters/xunit" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">XUnit</span> </a> </li> </ul> </details> </li><li class="astro-3ii7xxms"> <details class="astro-3ii7xxms"> <sl-sidebar-restore data-index="5"></sl-sidebar-restore> <summary class="astro-3ii7xxms"> <div class="group-label astro-3ii7xxms"> <span class="large astro-3ii7xxms">Explainers</span> </div> <svg aria-hidden="true" class="caret astro-3ii7xxms astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1.25rem;"><path d="m14.83 11.29-4.24-4.24a1 1 0 1 0-1.42 1.41L12.71 12l-3.54 3.54a1 1 0 0 0 0 1.41 1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.24-4.24a1.002 1.002 0 0 0 0-1.42Z"/></svg> </summary> <ul class="astro-3ii7xxms"> <li class="astro-3ii7xxms"> <a href="/next/explainers/detecting-multiple-calls-to-done" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Detecting multiple calls to done()</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/explainers/count-assertions" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Counting assertions</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/explainers/find-global-leaks" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Find global leaks</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/explainers/nodejs-native-esm-support" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Node.js native ESM support</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/explainers/related-tools" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Related tools</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/explainers/run-cycle-overview" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Run cycle overview</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/explainers/shared-behaviours" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Shared behaviours</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/explainers/spies" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Spies</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/explainers/tagging" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Tagging with --grep</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/explainers/test-duration" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Test duration</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/explainers/test-fixture-decision-tree" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Test fixture decision tree</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/explainers/third-party-reporters" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Third party reporters</span> </a> </li><li class="astro-3ii7xxms"> <a href="/next/explainers/third-party-uis" class="astro-3ii7xxms"> <span class="astro-3ii7xxms">Third party UIs</span> </a> </li> </ul> </details> </li><li class="astro-3ii7xxms"> <a href="https://mochajs.org/api" class="large astro-3ii7xxms"> <span class="astro-3ii7xxms">API</span> </a> </li> </ul> <script>
(() => {
const scroller = document.getElementById('starlight__sidebar');
if (!window._starlightScrollRestore || !scroller) return;
scroller.scrollTop = window._starlightScrollRestore;
delete window._starlightScrollRestore;
})();
</script> </sl-sidebar-state-persist> <div class="md:sl-hidden"> <div class="mobile-preferences sl-flex astro-wu23bvmt"> <div class="sl-flex social-icons astro-wu23bvmt"> <a href="https://discord.gg/KeDn2uXhER" rel="me" class="sl-flex astro-wy4te6ga"><span class="sr-only astro-wy4te6ga">Discord</span><svg aria-hidden="true" class="astro-wy4te6ga astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M20.32 4.37a19.8 19.8 0 0 0-4.93-1.51 13.78 13.78 0 0 0-.64 1.28 18.27 18.27 0 0 0-5.5 0 12.64 12.64 0 0 0-.64-1.28h-.05A19.74 19.74 0 0 0 3.64 4.4 20.26 20.26 0 0 0 .11 18.09l.02.02a19.9 19.9 0 0 0 6.04 3.03l.04-.02a14.24 14.24 0 0 0 1.23-2.03.08.08 0 0 0-.05-.07 13.1 13.1 0 0 1-1.9-.92.08.08 0 0 1 .02-.1 10.2 10.2 0 0 0 .41-.31h.04a14.2 14.2 0 0 0 12.1 0l.04.01a9.63 9.63 0 0 0 .4.32.08.08 0 0 1-.03.1 12.29 12.29 0 0 1-1.9.91.08.08 0 0 0-.02.1 15.97 15.97 0 0 0 1.27 2.01h.04a19.84 19.84 0 0 0 6.03-3.05v-.03a20.12 20.12 0 0 0-3.57-13.69ZM8.02 15.33c-1.18 0-2.16-1.08-2.16-2.42 0-1.33.96-2.42 2.16-2.42 1.21 0 2.18 1.1 2.16 2.42 0 1.34-.96 2.42-2.16 2.42Zm7.97 0c-1.18 0-2.15-1.08-2.15-2.42 0-1.33.95-2.42 2.15-2.42 1.22 0 2.18 1.1 2.16 2.42 0 1.34-.94 2.42-2.16 2.42Z"/></svg> </a><a href="https://github.com/mochajs/mocha" rel="me" class="sl-flex astro-wy4te6ga"><span class="sr-only astro-wy4te6ga">GitHub</span><svg aria-hidden="true" class="astro-wy4te6ga astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M12 .3a12 12 0 0 0-3.8 23.38c.6.12.83-.26.83-.57L9 21.07c-3.34.72-4.04-1.61-4.04-1.61-.55-1.39-1.34-1.76-1.34-1.76-1.08-.74.09-.73.09-.73 1.2.09 1.83 1.24 1.83 1.24 1.08 1.83 2.81 1.3 3.5 1 .1-.78.42-1.31.76-1.61-2.67-.3-5.47-1.33-5.47-5.93 0-1.31.47-2.38 1.24-3.22-.14-.3-.54-1.52.1-3.18 0 0 1-.32 3.3 1.23a11.5 11.5 0 0 1 6 0c2.28-1.55 3.29-1.23 3.29-1.23.64 1.66.24 2.88.12 3.18a4.65 4.65 0 0 1 1.23 3.22c0 4.61-2.8 5.63-5.48 5.92.42.36.81 1.1.81 2.22l-.01 3.29c0 .31.2.69.82.57A12 12 0 0 0 12 .3Z"/></svg> </a> </div> <starlight-theme-select> <label style="--sl-select-width: 6.25em" class="astro-4yphtoen"> <span class="sr-only astro-4yphtoen">Select theme</span> <svg aria-hidden="true" class="icon label-icon astro-4yphtoen astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M21 14h-1V7a3 3 0 0 0-3-3H7a3 3 0 0 0-3 3v7H3a1 1 0 0 0-1 1v2a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-2a1 1 0 0 0-1-1ZM6 7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v7H6V7Zm14 10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-1h16v1Z"/></svg> <select value="auto" class="astro-4yphtoen"> <option value="dark" class="astro-4yphtoen">Dark</option><option value="light" class="astro-4yphtoen">Light</option><option value="auto" selected class="astro-4yphtoen">Auto</option> </select> <svg aria-hidden="true" class="icon caret astro-4yphtoen astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M17 9.17a1 1 0 0 0-1.41 0L12 12.71 8.46 9.17a1 1 0 1 0-1.41 1.42l4.24 4.24a1.002 1.002 0 0 0 1.42 0L17 10.59a1.002 1.002 0 0 0 0-1.42Z"/></svg> </label> </starlight-theme-select> <script>
StarlightThemeProvider.updatePickers();
</script> </div> </div> </div> </div> </nav> <div class="main-frame astro-vrdttmbt"> <div class="lg:sl-flex astro-67yu43on"> <aside class="right-sidebar-container astro-67yu43on"> <div class="right-sidebar astro-67yu43on"> <div class="lg:sl-hidden astro-pb3aqygn"><mobile-starlight-toc data-min-h="2" data-max-h="3" class="astro-doynk5tl"><nav aria-labelledby="starlight__on-this-page--mobile" class="astro-doynk5tl"><details id="starlight__mobile-toc" class="astro-doynk5tl"><summary id="starlight__on-this-page--mobile" class="sl-flex astro-doynk5tl"><div class="toggle sl-flex astro-doynk5tl">On this page<svg aria-hidden="true" class="caret astro-doynk5tl astro-c6vsoqas" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1rem;"><path d="m14.83 11.29-4.24-4.24a1 1 0 1 0-1.42 1.41L12.71 12l-3.54 3.54a1 1 0 0 0 0 1.41 1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.24-4.24a1.002 1.002 0 0 0 0-1.42Z"/></svg> </div><span class="display-current astro-doynk5tl"></span></summary><div class="dropdown astro-doynk5tl"><ul class="isMobile astro-g2bywc46" style="--depth: 0;"> <li class="astro-g2bywc46" style="--depth: 0;"> <a href="#_top" class="astro-g2bywc46" style="--depth: 0;"> <span class="astro-g2bywc46" style="--depth: 0;">Overview</span> </a> </li> </ul> </div></details></nav></mobile-starlight-toc></div><div class="right-sidebar-panel sl-hidden lg:sl-block astro-pb3aqygn"><div class="sl-container astro-pb3aqygn"><starlight-toc data-min-h="2" data-max-h="3"><nav aria-labelledby="starlight__on-this-page"><h2 id="starlight__on-this-page">On this page</h2><ul class="astro-g2bywc46" style="--depth: 0;"> <li class="astro-g2bywc46" style="--depth: 0;"> <a href="#_top" class="astro-g2bywc46" style="--depth: 0;"> <span class="astro-g2bywc46" style="--depth: 0;">Overview</span> </a> </li> </ul> </nav></starlight-toc></div></div> </div> </aside> <div class="main-pane astro-67yu43on"> <main data-pagefind-body lang="en" dir="ltr" class="astro-bguv2lll"> <div class="content-panel astro-7nkwcw3z"> <div class="sl-container astro-7nkwcw3z"> <h1 id="_top" class="astro-j6tvhyss">Pending Tests</h1> </div> </div> <div class="content-panel astro-7nkwcw3z"> <div class="sl-container astro-7nkwcw3z"> <div class="sl-markdown-content"> <p>“Pending” — as in “someone should write these test cases eventually” — test-cases are those <em>without</em> a callback:</p>
<div class="expressive-code"><link rel="stylesheet" href="/next/_astro/ec.j8ofn.css"><script type="module" src="/next/_astro/ec.8zarh.js"></script><figure class="frame not-content"><figcaption class="header"></figcaption><pre data-language="js"><code><div class="ec-line"><div class="code"><span style="--0:#82AAFF;--1:#3C63B3">describe</span><span style="--0:#D6DEEB;--1:#403F53">(</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#ECC48D;--1:#9B504E">Array</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#C792EA;--1:#8D46B4">function</span><span style="--0:#D6DEEB;--1:#403F53"> </span><span style="--0:#D9F5DD;--1:#111111">()</span><span style="--0:#D6DEEB;--1:#403F53"> {</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#82AAFF;--1:#3C63B3">describe</span><span style="--0:#D6DEEB;--1:#403F53">(</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#ECC48D;--1:#9B504E">#indexOf()</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#7690A6;--1:#4F687D">,</span><span style="--0:#D6DEEB;--1:#403F53"> </span><span style="--0:#C792EA;--1:#8D46B4">function</span><span style="--0:#D6DEEB;--1:#403F53"> </span><span style="--0:#D9F5DD;--1:#111111">()</span><span style="--0:#D6DEEB;--1:#403F53"> {</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#809191;--1:#5E6578">// pending test below</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#82AAFF;--1:#3C63B3">it</span><span style="--0:#D6DEEB;--1:#403F53">(</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#ECC48D;--1:#9B504E">should return -1 when the value is not present</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">);</span></div></div><div class="ec-line"><div class="code"><span class="indent"><span style="--0:#D6DEEB;--1:#403F53"> </span></span><span style="--0:#D6DEEB;--1:#403F53">});</span></div></div><div class="ec-line"><div class="code"><span style="--0:#D6DEEB;--1:#403F53">});</span></div></div></code></pre><div class="copy"><button title="Copy to clipboard" data-copied="Copied!" data-code="describe("Array", function () {� describe("#indexOf()", function () {� // pending test below� it("should return -1 when the value is not present");� });�});"><div></div></button></div></figure></div>
<p>Pending tests will be included in the test results and marked as pending.
A pending test is not considered a failed test.</p>
<p>Read the <a href="/next/declaring/inclusive-tests">inclusive tests section</a> for an example of conditionally marking a test as pending via <code dir="auto">this.skip()</code>.</p> </div> <footer class="astro-sz7xmlte"> <div id="copyright-notice" class="astro-sz7xmlte"> <p class="astro-sz7xmlte"> <a rel="home" href="https://mochajs.org/" class="astro-sz7xmlte">mochajs.org</a> is licensed under
a
<a href="https://creativecommons.org/licenses/by/4.0/" rel="license external noopener" class="astro-sz7xmlte">
Creative Commons Attribution 4.0 International License</a>.
</p> <p class="astro-sz7xmlte">
Copyright
<a href="https://openjsf.org" rel="external noopener" class="astro-sz7xmlte">
OpenJS Foundation</a>
and Mocha contributors. All rights reserved. The
<a href="https://openjsf.org" rel="external noopener" class="astro-sz7xmlte">
OpenJS Foundation</a>
has registered trademarks and uses trademarks. For a list of trademarks of
the
<a href="https://openjsf.org" rel="external noopener" class="astro-sz7xmlte">
OpenJS Foundation</a>, please see our
<a href="https://trademark-policy.openjsf.org/" rel="external noopener" class="astro-sz7xmlte">
Trademark Policy</a>
and
<a href="https://trademark-list.openjsf.org/" rel="external noopener" class="astro-sz7xmlte">
Trademark List</a>. Trademarks and logos not indicated on the
<a href="https://trademark-list.openjsf.org" rel="external noopener" class="astro-sz7xmlte">
list of OpenJS Foundation trademarks</a>
are trademarks™ or registered® trademarks of their respective holders. Use
of them does not imply any affiliation with or endorsement by them.
</p> </div> <div class="footer-bottom astro-sz7xmlte"> <div id="external-links" class="astro-sz7xmlte"> <div class="openjsf-logo astro-sz7xmlte"> <a title="Mocha is an OpenJS Foundation Project" href="https://openjsf.org" rel="external noopener" class="astro-sz7xmlte"> <img src="/next/_astro/openjsf-logo.AcqO9Lfu_Z1IV72E.svg" alt="OpenJS Foundation Logo" loading="lazy" class="astro-sz7xmlte" width="120" height="38" decoding="async"> </a> </div> <ul id="openjsf-links" class="astro-sz7xmlte"> <li class="astro-sz7xmlte"> <a href="https://openjsf.org/" rel="external noopener" class="astro-sz7xmlte">The OpenJS Foundation</a> </li> <li class="astro-sz7xmlte"> <a href="https://terms-of-use.openjsf.org/" rel="external noopener" class="astro-sz7xmlte">Terms of Use</a> </li> <li class="astro-sz7xmlte"> <a href="https://privacy-policy.openjsf.org/" rel="external noopener" class="astro-sz7xmlte">Privacy Policy</a> </li> <li class="astro-sz7xmlte"> <a href="https://bylaws.openjsf.org/" rel="external noopener" class="astro-sz7xmlte">OpenJS Foundation Bylaws</a> </li> <li class="astro-sz7xmlte"> <a href="https://trademark-policy.openjsf.org/" rel="external noopener" class="astro-sz7xmlte">Trademark Policy</a> </li> <li class="astro-sz7xmlte"> <a href="https://trademark-list.openjsf.org/" rel="external noopener" class="astro-sz7xmlte">Trademark List</a> </li> <li class="astro-sz7xmlte"> <a href="https://www.linuxfoundation.org/cookies/" rel="external noopener" class="astro-sz7xmlte">Cookie Policy</a> </li> </ul> </div> <div class="build-credits astro-sz7xmlte"> <div id="netlify-badge" class="astro-sz7xmlte"> <a href="https://www.netlify.com" class="astro-sz7xmlte"> <img alt="Built with Netlify (Netlify logo)" loading="lazy" src="https://www.netlify.com/img/global/badges/netlify-color-accent.svg" class="astro-sz7xmlte"> </a> </div> <dl id="last-modified" class="dl-inline astro-sz7xmlte"> <dt class="astro-sz7xmlte">Last updated</dt> <dd class="astro-sz7xmlte"> <time itemprop="lastModified" datetime="{{ 'now' | date: '%Y-%m-%dT%H:%M:%SZ' }}" class="astro-sz7xmlte"> Tue, 30 Sep 2025 01:08:31 GMT </time> </dd> </dl> </div> </div> </footer> </div> </div> </main> </div> </div> </div> </div> </body></html>
Metadata
Metadata
Assignees
Labels
area: documentationanything involving docs or mochajs.organything involving docs or mochajs.orgstatus: in triagea maintainer should (re-)triage (review) this issuea maintainer should (re-)triage (review) this issue