Skip to content

fix: restore gateway spend script test coverage#40

Open
UfukNode wants to merge 1 commit into
circlefin:masterfrom
UfukNode:agent/add-gateway-spend-script
Open

fix: restore gateway spend script test coverage#40
UfukNode wants to merge 1 commit into
circlefin:masterfrom
UfukNode:agent/add-gateway-spend-script

Conversation

@UfukNode

@UfukNode UfukNode commented Jul 16, 2026

Copy link
Copy Markdown

I hit a couple of small test failures while running the suite locally.

The Gateway spend test was still importing scripts/spend-arc-gateway-usdc.mjs, but that file was missing. I added the script back and wired the npm command to it so the test points at something real again.

There was also one formatting mismatch in the Earn helper: zero USD was coming back as $0.00, while the compact formatter test expects $0. This keeps the zero case aligned with the rest of the helper fallback behavior.

Checked with npm test; all tests pass locally.

@UfukNode
UfukNode marked this pull request as ready for review July 16, 2026 00:18
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