File size: 419 Bytes
bf48b89
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { describe, expect, it } from 'vitest';

describe('entrypoints', () => {
    it('exports app entrypoint', async () => {
        const app = (await import('@/app')).default;
        expect(typeof app.request).toBe('function');
    });

    it('exports server entrypoint', async () => {
        const server = (await import('@/server')).default;
        expect(typeof server.request).toBe('function');
    });
});