Skip to content

Conversation

zimeg
Copy link
Member

@zimeg zimeg commented Mar 12, 2025

Summary

This PR refactors the logger setup used for @slack/web-api to a standalone file to test that the configured action inputs are used when constructing the WebClient 👾

Hopefully no changes to functionality, but an improvement to testing for following changes!

Requirements

@zimeg zimeg added enhancement New feature or request semver:patch labels Mar 12, 2025
@zimeg zimeg added this to the 2.0.1 milestone Mar 12, 2025
@zimeg zimeg requested a review from WilliamBergamin March 12, 2025 16:47
@zimeg zimeg self-assigned this Mar 12, 2025
Copy link

codecov bot commented Mar 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.85%. Comparing base (1ebd736) to head (1ee5b59).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #408      +/-   ##
==========================================
+ Coverage   99.70%   99.85%   +0.15%     
==========================================
  Files           6        7       +1     
  Lines         669      699      +30     
==========================================
+ Hits          667      698      +31     
+ Misses          2        1       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 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.

I like this 💯 nice job

@zimeg
Copy link
Member Author

zimeg commented Mar 12, 2025

@WilliamBergamin Thanks so much! I'm hoping this logger might find use elsewhere too, but I'm most excited for the testing improvements TBH 🌲 ✨

@zimeg zimeg merged commit 21be76f into slackapi:main Mar 12, 2025
5 checks passed
@zimeg zimeg modified the milestones: 2.0.1, 2.1 May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request semver:patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants