/**
 * Mock api-security for Jest tests
 */

const rateLimit = jest.fn().mockResolvedValue({ success: true, remaining: 10 });
const validateCSRF = jest.fn().mockResolvedValue(true);
const createCSRFToken = jest.fn().mockReturnValue("mock-csrf-token");

module.exports = { rateLimit, validateCSRF, createCSRFToken };
