Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Include type checks on builders #10692

Merged
merged 2 commits into from
Jan 5, 2025
Merged

Conversation

Jiralite
Copy link
Member

@Jiralite Jiralite commented Jan 5, 2025

Turns out builders had type checks too, but they were not doing anything as they were not being type checked. You can test this: change some types in the file and run the test script prior to this pull request. Tests will pass.

Now that types are checked in the directory, it picked up some undeclared variables, which I've removed.

@Jiralite Jiralite requested a review from a team as a code owner January 5, 2025 02:04
Copy link

vercel bot commented Jan 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
discord-js ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 5, 2025 10:00am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
discord-js-guide ⬜️ Ignored (Inspect) Visit Preview Jan 5, 2025 10:00am

@Jiralite Jiralite added this to the builders 2.0.0 milestone Jan 5, 2025
@Jiralite Jiralite marked this pull request as draft January 5, 2025 09:25
@Jiralite Jiralite marked this pull request as ready for review January 5, 2025 09:59
Copy link

codecov bot commented Jan 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 37.96%. Comparing base (9fea069) to head (edd71ce).
Report is 8 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10692   +/-   ##
=======================================
  Coverage   37.96%   37.96%           
=======================================
  Files         239      239           
  Lines       14877    14877           
  Branches     1377     1377           
=======================================
  Hits         5648     5648           
  Misses       9218     9218           
  Partials       11       11           
Flag Coverage Δ
brokers 27.71% <ø> (ø)
builders 80.38% <ø> (ø)
collection 100.00% <ø> (ø)
formatters 99.63% <ø> (ø)
guide 0.58% <ø> (ø)
proxy 64.63% <ø> (ø)
rest 87.47% <ø> (ø)
util 41.42% <ø> (ø)
utilities 100.00% <ø> (ø)
voice 69.99% <ø> (ø)
website 0.00% <ø> (ø)
ws 34.45% <ø> (ø)

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

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

@kodiakhq kodiakhq bot merged commit 9a40073 into main Jan 5, 2025
25 checks passed
@kodiakhq kodiakhq bot deleted the test/type-check-builders branch January 5, 2025 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants