MCPcopy Create free account
hub / github.com/freeCodeCamp/freeCodeCamp / tokens.test.ts

File tokens.test.ts

api/src/utils/tokens.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, test, expect, vi } from 'vitest';
2
3vi.useFakeTimers();
4/* eslint-disable @typescript-eslint/no-unsafe-assignment */

Callers

nothing calls this directly

Calls 3

createAccessTokenFunction · 0.85
createAuthTokenFunction · 0.85
isExpiredFunction · 0.85

Tested by

no test coverage detected