Skip to content

Add batch pricing test suite - #950

Open
Jericho301 wants to merge 1 commit into
AtomicIP:mainfrom
Jericho301:test/batch-pricing-870
Open

Add batch pricing test suite#950
Jericho301 wants to merge 1 commit into
AtomicIP:mainfrom
Jericho301:test/batch-pricing-870

Conversation

@Jericho301

Copy link
Copy Markdown

Adds the missing test suite for src/batch/batchPricing.js.

Coverage includes:

  • Volume-tier boundaries and custom tiers
  • Discount and adjustment rounding behavior
  • Monotonic pricing across batch sizes
  • Oracle and override precedence
  • Price floors, ceilings, validation, and bounds helpers

The module has no currency-conversion interface, so no conversion behavior was added to the tests.

Closes #870

@drips-wave

drips-wave Bot commented Aug 28, 2026

Copy link
Copy Markdown

@Jericho301 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Add missing test suite for batchPricing.js

1 participant