games_app/backend/dist/tests/helpers/testAuth.d.ts
2026-06-29 15:01:23 +02:00

9 lines
454 B
TypeScript

import { JwtPayload } from '../../types';
export declare const TEST_USER_ID = "00000000-0000-4000-8000-000000000099";
export declare const TEST_EMAIL_HASH: string;
/** Creates a valid bearer token for integration tests (no DB user required). */
export declare function createTestAccessToken(overrides?: Partial<JwtPayload>): string;
export declare function authHeader(token: string): {
Authorization: string;
};
//# sourceMappingURL=testAuth.d.ts.map