mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 10:27:26 +00:00
close all queues
This commit is contained in:
@@ -2,6 +2,8 @@ import { Server } from "http";
|
||||
import main from "../src";
|
||||
import { afterAll, beforeAll, describe, expect, it } from "@jest/globals";
|
||||
import request from "supertest";
|
||||
import { githubPushEventSecretScan } from "../src/queues/secret-scanning/githubScanPushEvent";
|
||||
import { syncSecretsToThirdPartyServices } from "../src/queues/integrations/syncSecretsToThirdPartyServices";
|
||||
|
||||
let server: Server;
|
||||
|
||||
@@ -11,6 +13,8 @@ beforeAll(async () => {
|
||||
|
||||
afterAll(async () => {
|
||||
server.close();
|
||||
githubPushEventSecretScan.close()
|
||||
syncSecretsToThirdPartyServices.close()
|
||||
});
|
||||
|
||||
describe("Healthcheck endpoint", () => {
|
||||
|
||||
Reference in New Issue
Block a user