Skip to content

Commit

Permalink
chore: add zod test
Browse files Browse the repository at this point in the history
  • Loading branch information
brunotot committed Sep 17, 2024
1 parent 855e90d commit c81facb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/mern-sample-app/lib-commons/test/zod.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/// <reference types="@types/jest" />

import { z } from "../src/lib";

describe("zod", () => {
describe("given zod configuration is valid", () => {
it("should not throw error", async () => {
expect(z.object({})).toHaveProperty("openapi");
});
});
});

0 comments on commit c81facb

Please sign in to comment.