mirror of
https://github.com/aleleba/run-app-from-cdn.git
synced 2025-04-11 08:17:49 -06:00
14 lines
294 B
TypeScript
14 lines
294 B
TypeScript
import request from 'supertest';
|
|
import dotenv from 'dotenv';
|
|
import app from '../src/app';
|
|
|
|
dotenv.config();
|
|
|
|
describe('Proxy Middleware', () => {
|
|
it('should proxy to CDN URL', async () => {
|
|
const response = await request(app).get('/');
|
|
expect(response.status).toBe(200);
|
|
});
|
|
|
|
});
|