Skip to content

🐛 Bug: TSDoc anchored redirects are broken #5696

@TyIsI

Description

@TyIsI

Bug Report 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 faq label, but none matched my issue.
  • I have 'smoke tested' the code to be tested by running it outside the real test suite to get a better sense of whether the problem is in the code under test, my usage of Mocha, or Mocha itself.
  • I want to provide a PR to resolve this

Expected

https://mochajs.org/#root-hook-plugins as referenced in the TSDoc for interface RootHoobObject should redirect to https://mochajs.org/features/root-hook-plugins.

Actual

https://mochajs.org/#root-hook-plugins in fact redirects to https://features/root-hook-plugins.

In fact, they pretty much all do.

Minimal, Complete and Verifiable Example

https://mochajs.org/#root-hook-plugins

Versions

Idk. What version does the website run on?

Additional Info

Yes... Sigh... I will make a PR.

P.S. I think the ClientRedirects.astro might not work in dev mode. I had to change to preview mode to replicate it.

Also, why aren't the .astro and dist dirs not excluded from prettier?! (Yes, I'm going to complain the entire time. I have standards.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: accepting prsMocha can use your help with this one!type: buga defect, confirmed by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions