Repository navigation
test: add Shopify multi-currency order amount fixture - #1493
adrianpascualdev wants to merge 2 commits into
Conversation
sridharkalaibala
left a comment
There was a problem hiding this comment.
Thanks for the focused synthetic fixture. I checked the diff against #413 and ran node --test tests/shopify-multicurrency-order-fixture.test.js at 8a206d7: all eight tests pass. The shop/presentment separation, simplified arithmetic limitations, and manual-review policy are clearly documented. Before approval, please format the three added files with the repository Prettier configuration (the leading blank lines and wrapped expressions/table currently look unformatted). Required CI validation is also outstanding: only CLA is reported on this head. I have not triggered workflow runs.
|
Thanks for the review! I've applied Prettier formatting to all three files, verified the formatting, and confirmed that all eight tests still pass. The changes have been pushed to this PR. The required CI checks are still pending maintainer approval. Thanks again! |
sridharkalaibala
left a comment
There was a problem hiding this comment.
Thanks for applying the formatting. I inspected cd1211f: the update is formatting-only, and all eight fixture tests still pass locally. The earlier formatting feedback is addressed. Required CI validation remains outstanding (only CLA is reported); no workflow runs were triggered. No further fixture changes are requested at this point.
Summary
Added synthetic Shopify multi-currency order fixtures to document proposed amount and currency mapping behavior.
Changes
No real Shopify orders, API calls, currency conversions, or payments are involved.
Testing
node --test tests/shopify-multicurrency-order-fixture.test.jsCloses #413