mirror of
https://github.com/nestriness/nestri.git
synced 2026-09-20 01:35:19 +03:00
17 lines
369 B
TypeScript
17 lines
369 B
TypeScript
import { beforeEach } from 'bun:test';
|
|
|
|
import { Env } from '@nestri/core/env';
|
|
|
|
const TEST_ADMIN_SECRET = 'test-admin-secret-42';
|
|
const TEST_FRONTEND_URL = 'http://localhost:5173';
|
|
|
|
beforeEach(() => {
|
|
Env.init({
|
|
NODE_ENV: 'test',
|
|
ADMIN_SHARED_SECRET: TEST_ADMIN_SECRET,
|
|
FRONTEND_URL: TEST_FRONTEND_URL
|
|
});
|
|
});
|
|
|
|
export { TEST_ADMIN_SECRET, TEST_FRONTEND_URL };
|