docs: general updates after 2.5.0 update (#11402)

This commit is contained in:
Shahed Nasser
2025-02-11 18:26:21 +02:00
committed by GitHub
parent ca486aa7ed
commit 5cb44d364d
17 changed files with 11576 additions and 11565 deletions

View File

@@ -337,10 +337,10 @@ medusaIntegrationTestRunner({
{
type: "publishable",
title: "Test Key",
created_by: ""
}
]
}
created_by: "",
},
],
},
})).result[0]
})
describe("GET /custom", () => {
@@ -349,8 +349,8 @@ medusaIntegrationTestRunner({
`/store/custom`,
{
headers: {
"x-publishable-api-key": pak.token
}
"x-publishable-api-key": pak.token,
},
}
)
@@ -421,13 +421,13 @@ medusaIntegrationTestRunner({
provider: "emailpass",
entity_id: "admin@medusa.js",
provider_metadata: {
password: "supersecret"
}
}
password: "supersecret",
},
},
],
app_metadata: {
user_id: user.id
}
user_id: user.id,
},
})
const token = jwt.sign(
@@ -503,13 +503,13 @@ medusaIntegrationTestRunner({
provider: "emailpass",
entity_id: "customer@medusa.js",
provider_metadata: {
password: "supersecret"
}
}
password: "supersecret",
},
},
],
app_metadata: {
user_id: customer.id
}
user_id: customer.id,
},
})
const token = jwt.sign(
@@ -533,10 +533,10 @@ medusaIntegrationTestRunner({
{
type: "publishable",
title: "Test Key",
created_by: ""
}
]
}
created_by: "",
},
],
},
})).result[0]
headers["x-publishable-api-key"] = pak.token

View File

@@ -126,7 +126,7 @@ medusaIntegrationTestRunner({
it("returns message", async () => {
const { errors } = await helloWorldWorkflow(getContainer())
.run({
throwOnError: false
throwOnError: false,
})
expect(errors.length).toBeGreaterThan(0)