RecipesJS test frameworksMocha

mocha

Mocha’s doc reporter outputs simple HTML. Their documentation has some pointers on how to add styling to the output.

- run: npx mocha --reporter doc > output.html
- uses: actions/upload-artifact@v4
  if: always()
  with:
      name: mocha
      path: output.html

Mocha example