This repository has been archived by the owner on Feb 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
55f7dbe
commit ea63761
Showing
3 changed files
with
114 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 8 additions & 6 deletions
14
test/unit/__fixtures__/fulfillment_inbound_shipment_get_inbound_guidance_for_sku.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
test/unit/__snapshots__/fulfillment-inbound-shipment.test.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`fulfillmentInboundShipment getInboundGuidanceForSku returns sku inbound guidance list if succesful 1`] = ` | ||
Array [ | ||
Object { | ||
"InvalidSKUList": "", | ||
"SKUInboundGuidanceList": Array [ | ||
Object { | ||
"ASIN": "B00005N5PF", | ||
"GuidanceReasonList": Array [ | ||
"SlowMovingASIN", | ||
], | ||
"InboundGuidance": "InboundNotRecommended", | ||
"SellerSKU": "us001", | ||
}, | ||
], | ||
}, | ||
Object { | ||
"quotaMax": 1000, | ||
"quotaRemaining": 999, | ||
"quotaResetOn": 2020-04-06T10:22:23.582Z, | ||
"requestId": "0", | ||
"timestamp": 2020-05-06T09:22:23.582Z, | ||
}, | ||
] | ||
`; | ||
|
||
exports[`fulfillmentInboundShipment getServiceStatus returns a parsed model when the status response is valid 1`] = ` | ||
Array [ | ||
Object { | ||
"Status": "GREEN", | ||
"Timestamp": "2020-05-06T08:22:23.582Z", | ||
}, | ||
Object { | ||
"quotaMax": 1000, | ||
"quotaRemaining": 999, | ||
"quotaResetOn": 2020-04-06T10:22:23.582Z, | ||
"requestId": "0", | ||
"timestamp": 2020-05-06T09:22:23.582Z, | ||
}, | ||
] | ||
`; |