15 lines
401 B
JavaScript
15 lines
401 B
JavaScript
process.env.NODE_ENV = 'test';
|
|
process.env.JWT_SECRET = 'test-secret';
|
|
process.env.DATABASE_URL = 'postgresql://test';
|
|
process.env.GOOGLE_MAPS_API_KEY = 'test-key';
|
|
process.env.STRIPE_SECRET_KEY = 'sk_test_key';
|
|
process.env.CSRF_SECRET = 'test-csrf-secret-that-is-at-least-32-chars-long';
|
|
|
|
// Silence console
|
|
global.console = {
|
|
...console,
|
|
log: jest.fn(),
|
|
error: jest.fn(),
|
|
warn: jest.fn()
|
|
};
|