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:
William Bouchard
2025-09-18 15:17:48 -04:00
committed by GitHub
parent c506985737
commit 1fd439e321
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -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 {