Feat(medusajs) Allow to pass custom headers (#1009)
* Feat(medusajs) Allow to pass custom headers * fix: axios exprexted output * fix: integration test cart * refactor: Update types object > Record<string, any> Co-authored-by: Sebastian Rindom <skrindom@gmail.com>
This commit is contained in:
committed by
olivermrbl
parent
1f2ee04abe
commit
8a2e4f74ff
@@ -150,7 +150,7 @@ describe("/store/carts", () => {
|
||||
const cart = getRes.data.cart
|
||||
expect(cart.context).toEqual({
|
||||
ip: "::ffff:127.0.0.1",
|
||||
user_agent: "axios/0.21.1",
|
||||
user_agent: expect.stringContaining("axios/0.21."),
|
||||
test_id: "test",
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user