Skip to content

Commit

Permalink
🧪 test(setup): setup credentials for healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
thrownullexception committed Nov 22, 2023
1 parent e64a4c7 commit 08342c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/api/healthcheck/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { createUnAuthenticatedMocks } from "../_test-utils/_authenticatedMock";
import { setupAllTestData } from "../_test-utils";

describe("/api/healthcheck", () => {
beforeAll(() => {
setupAllTestData(["credentials"]);
beforeAll(async () => {
await setupAllTestData(["credentials"]);
});
it("should set up app successfuly", async () => {
const { req, res } = createUnAuthenticatedMocks({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ const filterSchema: FieldQueryFilter[] = [
];

describe("query-generation", () => {
beforeAll(() => {
setupAllTestData(["credentials"]);
beforeAll(async () => {
await setupAllTestData(["credentials"]);
});

it("should generate correct queries", async () => {
Expand Down

0 comments on commit 08342c3

Please sign in to comment.