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.1
Choose a head ref
  • 14 commits
  • 16 files changed
  • 7 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
Loading