2024-10-16 15:36:47 +05:30
|
|
|
import { medusaIntegrationTestRunner } from "medusa-test-utils";
|
|
|
|
jest.setTimeout(60 * 1000);
|
2024-10-09 18:11:16 +05:30
|
|
|
|
|
|
|
medusaIntegrationTestRunner({
|
|
|
|
inApp: true,
|
|
|
|
env: {},
|
|
|
|
testSuite: ({ api }) => {
|
|
|
|
describe("Ping", () => {
|
|
|
|
it("ping the server health endpoint", async () => {
|
2024-10-16 15:36:47 +05:30
|
|
|
const response = await api.get("/health");
|
|
|
|
expect(response.status).toEqual(200);
|
|
|
|
});
|
|
|
|
});
|
2024-10-09 18:11:16 +05:30
|
|
|
},
|
2024-10-16 15:36:47 +05:30
|
|
|
});
|