Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
achorein committed Oct 3, 2024
1 parent d4d27b3 commit 3dea76f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/src/__tests__/inscription-goal.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ import { dbConnect, dbClose } from "./helpers/db";
import getNewInscriptionGoalFixture from "./fixtures/inscriptionGoal";
import { createInscriptionGoal } from "./helpers/inscriptionGoal";
import { FUNCTIONAL_ERRORS } from "snu-lib";
import { InscriptionGoalModel } from "../models";

beforeAll(dbConnect);
afterAll(dbClose);

describe("Inscription Goal", () => {
beforeAll(async () => {
await InscriptionGoalModel.deleteMany({});
});
describe("POST /inscription-goal/:cohort", () => {
it("should post a new entry in inscription-goal", async () => {
const res = await request(getAppHelper())
Expand Down

0 comments on commit 3dea76f

Please sign in to comment.