MCPcopy Create free account
hub / github.com/freeCodeCamp/freeCodeCamp / setupServer

Function setupServer

api/src/plugins/auth.test.ts:13–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11import auth from './auth.js';
12
13async function setupServer() {
14 const fastify = Fastify();
15 await fastify.register(cookies);
16 await fastify.register(auth);
17 return fastify;
18}
19
20const THIRTY_DAYS_IN_SECONDS = 2592000;
21

Callers 1

auth.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected