Skip to content

Conversation

@zimeg
Copy link
Member

@zimeg zimeg commented Nov 4, 2025

Summary

This PR removes the following development dependencies to prefer the included node test runner to replace #2351:

  • @types/chai
  • @types/mocha
  • c8
  • chai
  • mocha
  • mocha-junit-reporter
  • mocha-multi-reporters
  • sinon

🔗 https://nodejs.org/api/test.html

Requirements

@zimeg zimeg added this to the [email protected] milestone Nov 4, 2025
@zimeg zimeg self-assigned this Nov 4, 2025
@zimeg zimeg added semver:patch tests M-T: Testing work only pkg:logger applies to `@slack/logger` dependencies Pull requests that update a dependency file labels Nov 4, 2025
@codecov
Copy link

codecov bot commented Nov 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.02%. Comparing base (e43f2ee) to head (3917d82).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2425   +/-   ##
=======================================
  Coverage   93.02%   93.02%           
=======================================
  Files          40       40           
  Lines       11124    11124           
  Branches      713      713           
=======================================
  Hits        10348    10348           
  Misses        764      764           
  Partials       12       12           
Flag Coverage Δ
cli-hooks 95.23% <ø> (ø)
cli-test 94.79% <ø> (ø)
oauth 77.39% <ø> (ø)
socket-mode 61.87% <ø> (ø)
web-api 98.08% <ø> (ø)
webhook 96.66% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@WilliamBergamin WilliamBergamin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Praise 🙏 very sweet 💯

Comment on lines -45 to -51
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"c8": "^10.1.2",
"chai": "^4.3.8",
"mocha": "^11.0.1",
"mocha-junit-reporter": "^2.2.1",
"mocha-multi-reporters": "^1.5.1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🪓 🪓 🪓

@zimeg
Copy link
Member Author

zimeg commented Nov 4, 2025

@WilliamBergamin I share the excitement here! These packages have been so kind to us, but I'm hoping we can reduce dependencies and updates needed going forward 🫡

Making similar updates in adjacent packages remains an interesting exercise I think!

@zimeg zimeg merged commit 53d143b into main Nov 4, 2025
57 checks passed
@zimeg zimeg deleted the zimeg-test-logger-deps branch November 4, 2025 20:06
@zimeg
Copy link
Member Author

zimeg commented Nov 4, 2025

🏷️ This is also for #2359!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file pkg:logger applies to `@slack/logger` semver:patch tests M-T: Testing work only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants