Skip to content

Commit 03b7c43

Browse files
committed
test(fastify): remove obsolete snapshots
Vitest 4 fails when obsolete snapshots are present rather than warning.
1 parent a2967f4 commit 03b7c43

3 files changed

Lines changed: 0 additions & 49 deletions

File tree

packages/fastify/src/__tests__/__snapshots__/clerkClient.test.ts.snap

Lines changed: 0 additions & 20 deletions
This file was deleted.

packages/fastify/src/__tests__/__snapshots__/constants.test.ts.snap

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,3 @@ exports[`constants > from environment variables 1`] = `
1515
"SECRET_KEY": "TEST_SECRET_KEY",
1616
}
1717
`;
18-
19-
exports[`constants from environment variables 1`] = `
20-
{
21-
"API_URL": "CLERK_API_URL",
22-
"API_VERSION": "CLERK_API_VERSION",
23-
"JWT_KEY": "CLERK_JWT_KEY",
24-
"PUBLISHABLE_KEY": "CLERK_PUBLISHABLE_KEY",
25-
"SDK_METADATA": {
26-
"environment": "test",
27-
"name": "@clerk/fastify",
28-
"version": "0.0.0-test",
29-
},
30-
"SECRET_KEY": "CLERK_SECRET_KEY",
31-
}
32-
`;

packages/fastify/src/__tests__/__snapshots__/getAuth.test.ts.snap

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,3 @@ For more info, check out the docs: https://clerk.com/docs,
1313
or come say hi in our discord server: https://clerk.com/discord
1414
]
1515
`;
16-
17-
exports[`getAuth(req) throws error if clerkPlugin is on registered 1`] = `
18-
"🔒 Clerk: The "clerkPlugin" should be registered before using the "getAuth".
19-
Example:
20-
21-
import { clerkPlugin } from '@clerk/fastify';
22-
23-
const server: FastifyInstance = Fastify({ logger: true });
24-
server.register(clerkPlugin);
25-
26-
For more info, check out the docs: https://clerk.com/docs,
27-
or come say hi in our discord server: https://clerk.com/discord
28-
"
29-
`;

0 commit comments

Comments
 (0)