We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4b0378 commit e1f1868Copy full SHA for e1f1868
1 file changed
express-zod-api/tests/well-known-headers.spec.ts
@@ -0,0 +1,11 @@
1
+import { getWellKnownHeaders } from "../src/well-known-headers";
2
+
3
+describe("getWellKnownHeaders()", () => {
4
+ test("should return a memoized Set having a lot of entries", () => {
5
+ const first = getWellKnownHeaders();
6
+ expect(first).toBeInstanceOf(Set);
7
+ const second = getWellKnownHeaders();
8
+ expect(second.size).toBeGreaterThan(200);
9
+ expect(first).toBe(second); // same by reference
10
+ });
11
+});
0 commit comments