mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 09:30:09 +00:00
Add eslint rule and fix as many issues as possible
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Server } from 'http';
|
||||
import main from '../src';
|
||||
import { describe, expect, it, beforeAll, afterAll } from '@jest/globals';
|
||||
import request from 'supertest';
|
||||
import { Server } from "http";
|
||||
import main from "../src";
|
||||
import { afterAll, beforeAll, describe, expect, it } from "@jest/globals";
|
||||
import request from "supertest";
|
||||
|
||||
let server: Server;
|
||||
|
||||
@@ -13,9 +13,9 @@ afterAll(async () => {
|
||||
server.close();
|
||||
});
|
||||
|
||||
describe('Healthcheck endpoint', () => {
|
||||
it('GET /healthcheck should return OK', async () => {
|
||||
const res = await request(server).get('/healthcheck');
|
||||
describe("Healthcheck endpoint", () => {
|
||||
it("GET /healthcheck should return OK", async () => {
|
||||
const res = await request(server).get("/healthcheck");
|
||||
expect(res.status).toEqual(200);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user