fix(medusa-test-utils): add health endpoint in test server (#13546)
* fix(medusa-test-utils): add health endpoint in test server * Create neat-pumas-promise.md * comment
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/test-utils": patch
|
||||
---
|
||||
|
||||
fix(medusa-test-utils): add health endpoint in test server
|
||||
@@ -13,6 +13,11 @@ async function bootstrapApp({
|
||||
const app = express()
|
||||
applyEnvVarsToProcess(env)
|
||||
|
||||
// Register a health check endpoint
|
||||
app.get("/health", (_, res) => {
|
||||
res.status(200).send("OK")
|
||||
})
|
||||
|
||||
const loaders = require("@medusajs/medusa/loaders/index").default
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user