Skip to content

Conversation

@leogermani
Copy link

Two small changes to the Getting Started example to make sure it works out of the box.

As of now, if you copy and paste the example you get 2 errrors:

  1. You are prompted to register the abilities category first
  2. when you call execute() you get an error because it's expecting an input.

Not sure if that was intentional, but I do think it's valuable to have an example that just works in this section.

use default category and remove input schema
@github-actions
Copy link

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: leogermani <leogermani@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@codecov
Copy link

codecov bot commented Dec 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 22.52%. Comparing base (5f64910) to head (be6b9aa).

Additional details and impacted files
@@              Coverage Diff              @@
##              trunk     #156       +/-   ##
=============================================
- Coverage     80.46%   22.52%   -57.94%     
  Complexity      178      178               
=============================================
  Files            20       20               
  Lines          1474     1474               
  Branches        120      119        -1     
=============================================
- Hits           1186      332      -854     
- Misses          288     1142      +854     
Flag Coverage Δ
javascript 94.61% <ø> (ø)
unit 1.40% <ø> (-74.92%) ⬇️

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.

🚀 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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant