feat(core-flows, types): calculated shipping in RMA flows (#11533)
* wip: calculated SO pricing in RMA flows * fix: types * chore: small refactor * feat: caluclated shipping in return flow * fix: module integrations * fix: array containing * feat: refresh shipping on update item quantity * rm: log * rm: log2 * feat: update interface, remove flag * fix: revert change on OE for now * fix: import * feat: refactor flwos, cleanup cacluation cotext data model, wip exchanges * feat: refreshing inbound/outbound shipping on items change * feat: refresh exchange shipping on return item add, test * feat: refresh shipping on exchange/return item remove * fix: check optional * feat: test recalculation on quantity update * feat: calculated shipping on claims * fix: comment * wip: address comments * fix: more remote query, fix build * refactor: claim refresh workflow * fix: remove throw option * fix: deconstruct param --------- Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
1 parent
053326950d
commit
de8c034d1b
33 files changed
+1997
-219
No files matched your search
@@ -33,9 +33,15 @@ medusaIntegrationTestRunner({
|
||||
)
|
||||
|
||||
expect(response.status).toEqual(200)
|
||||
expect(response.data.fulfillment_providers).toEqual([
|
||||
{ id: "manual_test-provider", is_enabled: true },
|
||||
])
|
||||
expect(response.data.fulfillment_providers).toEqual(
|
||||
expect.arrayContaining([
|
||||
{ id: "manual_test-provider", is_enabled: true },
|
||||
{
|
||||
id: "manual-calculated_test-provider-calculated",
|
||||
is_enabled: true,
|
||||
},
|
||||
])
|
||||
)
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user