Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mochajs/mocha
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v10.7.3
Choose a base ref
...
head repository: mochajs/mocha
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v10.8.2
Choose a head ref
  • 20 commits
  • 24 files changed
  • 9 contributors

Commits on Aug 21, 2024

  1. Configuration menu
    Copy the full SHA
    1203e0e View commit details
    Browse the repository at this point in the history
  2. docs: adopt Collective Funds Guidelines 0.1 (#5199)

    * docs: adopt Collective Funds Guidelines 0.1
    
    These were created by the Mocha maintainers with intent of being used for Mocha.
    
    When #5197 is merged, do a follow up that adds the collective funds guidelines badge to the README
    
    * Adding Collective Funds Guidelines badge
    voxpelli authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    2b03d86 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Configuration menu
    Copy the full SHA
    bd7e63a View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Configuration menu
    Copy the full SHA
    7563e59 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. test: fix npm scripts on windows (#5219)

    * Fix npm scripts on Windows
    
    * Add prettier to Knip's ignore list
    
    * use double quotes instead of removing quotes
    
    * Fix tests for compatibility with Node ^22.7
    
    --experimental-detect-module is default in Node 22.7 and later
    
    * At least they pass...
    
    * Format and cleanup new test
    
    * Cleanup for fun
    
    * Add newline for style
    mark-wiemer authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    1173da0 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2024

  1. Configuration menu
    Copy the full SHA
    0a24b58 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    97af04f View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. feat: highlight browser failures (#5222)

    * Format html.js
    
    * Remove newlines between JSDoc comments and their symbols
    
    * (temp) update template.html to run tests
    
    * Color the stat result icon and text based on root suite result
    
    * (temp) add template fail and template pass
    
    * On first test fail, add fail indicator to stats
    
    * Remove extra newline
    
    * Format mocha.css with Prettier
    
    * Make pass icon color accessible
    
    * Cleanup mocha.css var names
    
    * Restore template to main
    
    * Remove thirteen-year-old comment
    
    440e38c
    
    * Revert "Format html.js"
    
    This reverts commit 8552a91.
    
    * Revert "Restore template to main"
    
    This reverts commit 854ab12.
    
    * Color passes and failures count as well
    
    * Cleanup stats variables to consts
    
    * Fix stats not updating on root suite end
    
    * Revert "Remove extra newline"
    
    This reverts commit 27a7958.
    
    * Restore newlines :(
    
    * Restore newlines for real
    
    * Reapply "Remove extra newline"
    
    This reverts commit c43bffe.
    
    * Revert "Format mocha.css with Prettier"
    
    This reverts commit 0898ed5.
    
    * indent to 5, not 6 chars in mocha.css
    
    * Re-add newline in mocha.css
    
    * Reapply "Restore template to main"
    
    This reverts commit 714ee15.
    mark-wiemer authored Oct 29, 2024
    Configuration menu
    Copy the full SHA
    8ff4845 View commit details
    Browse the repository at this point in the history
  2. chore(main): release 10.8.0 (#5200)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Oct 29, 2024
    Configuration menu
    Copy the full SHA
    6062f92 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0a7ee14 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d8ca270 View commit details
    Browse the repository at this point in the history
  5. fix: use accurate test links in HTML reporter (#5228)

    - Add '^' and ' ' for a suite link so that a link for `Case1` won't hit `Case10 test1`.
    - Add '^' and '$' for a test link so that a link for `CSS` won't hit `should fix invalid CSS`.
    danny0838 authored Oct 29, 2024
    Configuration menu
    Copy the full SHA
    68803b6 View commit details
    Browse the repository at this point in the history
  6. fix: handle case of invalid package.json with no explicit config (#5198)

    * fix: report syntax errors in package.json (fixes: #5141)
    
    * fix(tests): incorrect test (should use existing result)
    
    Since `readFileSync` is only stubbed `onFirstCall` we get a different answer
    the second time around which is probably Not What You Want.  But also we
    *already checked that config = false*.  So you could just remove this
    test, it does nothing useful.
    
    * fix: separate read and parse errors
    
    * fix: clarify invalid JSON
    
    Co-authored-by: Josh Goldberg ✨ <[email protected]>
    
    * fix(test): expect only a SyntaxError nothing else
    
    ---------
    
    Co-authored-by: Josh Goldberg ✨ <[email protected]>
    dhdaines and JoshuaKGoldberg authored Oct 29, 2024
    Configuration menu
    Copy the full SHA
    f72bc17 View commit details
    Browse the repository at this point in the history
  7. chore(main): release 10.8.1 (#5238)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Oct 29, 2024
    Configuration menu
    Copy the full SHA
    f44f71b View commit details
    Browse the repository at this point in the history
  8. fix: support errors with circular dependencies in object values with …

    …--parallel (#5212)
    
    * fix: support errors with circular dependencies in object values with --parallel
    
    * Also handle nested non-writable getters
    JoshuaKGoldberg authored Oct 29, 2024
    Configuration menu
    Copy the full SHA
    ba0fefe View commit details
    Browse the repository at this point in the history
  9. build(deps): bump the github-actions group with 1 update (#5132)

    Bumps the github-actions group with 1 update: [joelwmale/webhook-action](https://github.com/joelwmale/webhook-action).
    
    
    Updates `joelwmale/webhook-action` from 2.3.2 to 2.4.1
    - [Release notes](https://github.com/joelwmale/webhook-action/releases)
    - [Commits](joelwmale/webhook-action@2.3.2...2.4.1)
    
    ---
    updated-dependencies:
    - dependency-name: joelwmale/webhook-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: github-actions
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 29, 2024
    Configuration menu
    Copy the full SHA
    e536ab2 View commit details
    Browse the repository at this point in the history
  10. fix: test link in html reporter (#5224)

    * build(deps): bump the github-actions group with 1 update
    
    Bumps the github-actions group with 1 update: [joelwmale/webhook-action](https://github.com/joelwmale/webhook-action).
    
    
    Updates `joelwmale/webhook-action` from 2.3.2 to 2.4.1
    - [Release notes](https://github.com/joelwmale/webhook-action/releases)
    - [Commits](joelwmale/webhook-action@2.3.2...2.4.1)
    
    ---
    updated-dependencies:
    - dependency-name: joelwmale/webhook-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: github-actions
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    * fix: remove bad test link params in HTML reporter
    
    - `grep` may not work as expected if a previous `fgrep` or `invert` parameter exists.
    
    * Update .github/workflows/nightly-site-deploy.yml
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Josh Goldberg ✨ <[email protected]>
    3 people authored Oct 29, 2024
    Configuration menu
    Copy the full SHA
    f054acc View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Configuration menu
    Copy the full SHA
    881e3b0 View commit details
    Browse the repository at this point in the history
  2. docs: indicate 'exports' interface does not work in browsers (#5181)

    * docs: indicate 'exports' interface does not work in browsers
    
    * docs: move 'exports' interface browser compatibility note to the exports section
    
    * docs: remove redundant 'exports' interface note from API.md
    
    * Apply suggestions from code review
    
    * Update docs/index.md
    
    ---------
    
    Co-authored-by: Josh Goldberg ✨ <[email protected]>
    deyjoy and JoshuaKGoldberg authored Oct 30, 2024
    Configuration menu
    Copy the full SHA
    14e640e View commit details
    Browse the repository at this point in the history
  3. chore(main): release 10.8.2 (#5239)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Oct 30, 2024
    Configuration menu
    Copy the full SHA
    05097db View commit details
    Browse the repository at this point in the history
Loading