16 lines
389 B
TypeScript
16 lines
389 B
TypeScript
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);
|
|
});
|
|
});
|
|
},
|
|
});
|