Initial commit of medusajs v2 rc2
This commit is contained in:
15
integration-tests/http/health.spec.ts
Normal file
15
integration-tests/http/health.spec.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import { medusaIntegrationTestRunner } from "medusa-test-utils"
|
||||
jest.setTimeout(60 * 1000)
|
||||
|
||||
medusaIntegrationTestRunner({
|
||||
inApp: true,
|
||||
env: {},
|
||||
testSuite: ({ api }) => {
|
||||
describe("Ping", () => {
|
||||
it("ping the server health endpoint", async () => {
|
||||
const response = await api.get('/health')
|
||||
expect(response.status).toEqual(200)
|
||||
})
|
||||
})
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user